We need a working Python interpreter with PyTest, Sphinx for documentation testing, and the Hypothesis framework for property-based testing. All of them can be installed through pip with the help of the following command:
$ pip install pytest sphinx hypothesis
The examples have been written on Python 3.7, Sphinx 3.3.0, PyTest 6.0.2, and Hypothesis 5.41, but should work on most modern Python versions.
You can find the code files present in this chapter on GitHub at https://github.com/PacktPublishing/Crafting-Test-Driven-Software-with-Python/tree/main/Chapter10.