Skip to content

Self documenting test cases

Many of the test cases are used to test edge cases and interesting scenarios in the infrastructure update process (or other features). Some of these can create their own documentation via outputs plots, enabling the tests to serve a dual purpose of both functional testing and documentation.

To generate the latest documentation run the following commands.

./scripts/run-tests.sh --plot
./scripts/run.sh config/generate-docs.yaml

The --plot command can also be passed to a single test case for testing during development.

./scripts/run-tests.sh tests/test_snap_points.py --plot