In addition to the installation requirements for the package itself, running tests and building documentation requires additional packages specified by the
docs extras in
setup.py, along with any other explicitly specified
tox.ini are environments that test the package under different python versions, check types, enforce style guidelines, verify the integrity of the documentation, and release the package. The following command can be run in the top-level pyfwl directory to run all testing environments:
You can choose to run only one environment, such as the one that builds the documentation, with the
tox -e docs
Fixtures, which are defined in
tests.conftest, configure the testing environment and load data according to a range of specifications.
tests.test_hdfe verify that different algorithms yield the same solutions.