Skip to content

Testing

All tests should pass before merging to main.

Quick Tests

These are the tests run by the default ci workflow on GitHub Actions.

pytest tests/ -v -s -m "not slow"

Slow Tests

pytest tests/ -v -s -m "slow"

Benchmarks

Benchmark tests are useful for release checks and solver-performance investigations. They are intentionally kept out of the default CI path and are run separately from the fast CI workflow.

pytest tests/ -v -m "slow" --benchmark-columns='mean, min, max, stddev, rounds'

To save a local benchmark baseline:

pytest tests/ -v -m benchmark --benchmark-autosave