Running the test suite¶
Important
Ensure nox
is installed. If you executed the first steps in some way, you should be ready to go.
Basic¶
To run all tests:
nox -e tests-3
With parameters¶
You can pass pytest
parameters through nox
using --
.
Only unit tests¶
nox -e tests-3 -- tests/unit
Rerun last failed tests¶
nox -e tests-3 -- --lf
Speed up subsequent test runs¶
SKIP_REQUIREMENTS_INSTALL=1 nox -e tests-3
Install extra dependencies¶
Useful if you want to invoke a fancier debugger from the tests:
EXTRA_REQUIREMENTS_INSTALL="ipdb" PYTHONBREAKPOINT="ipdb.set_trace" nox -e tests-3