Part of a getting started series from PropertyBasedTesting.com.
This repo contains several small chapters, each self-contained.
The only common thing is the Pipfile that manages package dependencies.
(section missing, will be added later)
Start by running this from the repo root: (this also creates the virtualenv if needed)
./devtools/reinstall_pipenv_packages.sh
Go into one of the chapter directories. For example:
cd chapters/01_initial_setup/
Then run the tests:
./devtools/run_tests_watch.sh
Each chapter also contains the file src/print_examples.py
, where you can add examples and see what's the output of the sort function for these examples.
Run this files using
./devtools/print_examples.sh
Inside each example, there is a separate README file with further information.