Code and slides for my Hypothesis talk at PyCon Canada 2016.
All dependencies needed are listed in requirements.txt
.
Was written for Python 2.7.12 but any version of 2.7 should work.
pip install requirements.txt
pytest <example_file>.py
If you want to run with extra Hypothesis stats:
pytest --hypothesis-show-statistics <example_file>.py
If you're following along with the slides the order in which to run the examples are alphabetically or more specifically.
- add_example.py
- book_example.py
- book_example_fixed.py
- cart_example1.py
- cart_example1_fixed.py
- cart_example2.py
- cart_example2_fixed.py
A copy of the QuickCheck paper can be found in this repo.