<div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>It&#39;s actually been around for some time, so some of you are probably aware of it, but as the 1.0 release is approaching this seems like it&#39;s probably a good time to do an announcement about Hypothesis, which is a property based testing library for Python I&#39;ve been working on.<br><br></div>Property based testing is the style of testing advanced by Quickcheck (and a myriad of descendent projects). You write a test parameterised by data matching a spec, generate random data from that spec to try to make a test fail, then if you find an example you minimize it to find a small reproduction case.<br><br></div>Hypothesis both acts as a production quality version of quickcheck for Python and also advances the state of the art somewhat. In particular it has novel features for building generation strategies for new data-types, saving examples between test runs and adaptively exploring the search space to match user provided preconditions on data.</div><div><br></div>You can install it from pypi as &quot;hypothesis&quot;, and the documentation is available at <a href="http://hypothesis.readthedocs.org/en/latest/">http://hypothesis.readthedocs.org/en/latest/</a><br><br></div>Do let me know if you have any questions or feedback.<br><br></div>Regards,<br></div>David<br></div>