Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.02 KB

README.md

File metadata and controls

36 lines (29 loc) · 1.02 KB

pbt_getting_started_python

Part of a getting started series from PropertyBasedTesting.com.

How to use this repo

This repo contains several small chapters, each self-contained.

The only common thing is the Pipfile that manages package dependencies.

Install python and pipenv

(section missing, will be added later)

Install python packages

Start by running this from the repo root: (this also creates the virtualenv if needed)

./devtools/reinstall_pipenv_packages.sh

Run tests:

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.