Testing
THIS SECTION IS UNDER CONSTRUCTION.
If you have questions or would like to help please open an issue on GitHub.
These commands are used to run specific subsets of unit tests. We use pytest as our test runner.
make test
This command runs ALL available tests for both the metric functions and their API endpoints.
Example:
$ make test
make test-metrics
This command will run ALL unit tests for the metric functions.
Example:
$ make test-metrics
make test-metrics-api
The above command runs ALL tests for the metrics API.
Example:
$ make test-metrics-api
pytest
You can also run the tests directly using the pytest command.
Example:
$ uv run pytest