A project to help demonstrate Python software testing.
We use Poetry to help manage the Python environment for this project. Please see the installation documentation for more information on how to use Poetry from your system.
After installing Poetry, you'll need to install this project's environment.
poetry install
We use pytest
to run tests found in this project.
pytest
is a part of the project environmen so we use Poetry to run it.
A Hypothesis test is included as part of the tests which are processed using pytest
.
poetry run pytest
Doctests may optionally be included with pytest
runs using the following command:
poetry run pytest --doctest-modules