<div dir="ltr"><span class="">Hypothesis is a Python library for turning</span><span class=""> </span><span class="">unit tests into generative tests</span><span class="">, covering </span><span class="">a far wider range of cases than</span><span class=""> </span><span class="">you can manually. Rather than just testing for the</span><span class=""> </span><span class="">things you already know about, Hypothesis goes out and actively hunts for</span><span class=""> </span><span class="">bugs in your code</span><span class="">.</span><span class=""> </span><span class="">I</span><span class="">t usually finds them</span><span class="">, and when it does it gives you simple and easy to read examples to demonstrate.</span><div class="" id="magicdomid9"><br></div><div class="" id="magicdomid227"><span class="">Hypothesis </span><span class="">is </span><span class="">based on Quickcheck</span><span class=""> (</span><span class=""><a href="https://wiki.haskell.org/Introduction_to_QuickCheck2%29">https://wiki.haskell.org/Introduction_to_QuickCheck2)</a></span><span class=""> but is designed to have a naturally Pythonic API</span><span class=""> and integrate well with Python testing libraries.</span></div><div class="" id="magicdomid48"><br></div><div class="" id="magicdomid229"><span class="">It&#39;s easy to use, extremely solid, and probably more devious than you are at</span><span class=""> </span><span class="">finding edge cases.</span></div><div class="" id="magicdomid13"><br></div><div class="" id="magicdomid362"><span class="">The
 1.0 release of Hypothesis has a stable and well documented public API. 
It&#39;s more than ready for you to use and it&#39;s easy to get started.</span></div><div class="" id="magicdomid15"><br></div><div class="" id="magicdomid17"><span class="">Full documentation is available at </span><span class=""><a href="http://hypothesis.readthedocs.org/en/latest/">http://hypothesis.readthedocs.org/en/latest/</a></span><span class="">, or if you prefer you can skip straight to the quick start guide: </span><span class=""><a href="http://hypothesis.readthedocs.org/en/latest/quickstart.html">http://hypothesis.readthedocs.org/en/latest/quickstart.html</a></span></div></div>