Testing across environments with tox¶
The tox project allows for the automation of many tasks related to Python packaging and testing.
For Nashpy it is used to:
Configure all tests.
Test across multiple python versions.
Configure all tests¶
All test commands are written in
include things like checking style
with black and presence of docstrings with
interrogate. Running all the checks is done
with a single standard command:
python -m tox.
Note that checking for insensitive language in documentation is not configured or run by tox.
Test across multiple python versions¶
This is done thanks to configurations written in
isolated_build = True
envlist = py38, py39