Automated tests ¶
Pytest ¶
The tests done at a unit level are run via pytest.
To run locally, start the Devcontainer and run:
cd tests
./run.sh
The helper script:
- Runs the tests with
pytest - Calculates test coverage with
coverage - Generates a
coveragereport in HTML in a directory namedcoverage.
The report files include a local .gitignore file, so the entire directory is hidden from source control.
Latest coverage report ¶
We also make the latest (from dev) coverage report available online here: Coverage report