Testing suite
Last updated
Was this helpful?
Last updated
Was this helpful?
The kallisto
project uses as an automated unit test suite, which is therefore an additional dependency.
The default session includes: linting (lint), type checks (mypy, pytype), and unit tests (tests).
When everything runs smoothly through, you are ready to go! After one successful nox
run, we can reuse the created virtual environment via the -r
flag.
Sometimes conda
and nox
are getting in their ways, which could lead to a failure while running unit tests. When facing such a case, deactivate the virtual environment and try again.
Different unit test sessions are implemented (check the ). They can be called separately via the run session -rs
flag.
Run all unit tests that are defined in the directory.
kallisto
uses the linter (check the config file).
kallisto
uses the code formatter.
kallisto
checks the security of dependencies via .
kallisto
checks for static types via (check the config file).
kallisto
furthermore uses for type checks.
Unit test can be checked as well.