Testing and Validation
Testing is the quality gate for SPX models. Treat your model library like code: every change should be validated by a deterministic suite.
Recommended layers
MiL tests (pytest): drive SPX deterministically from Python and assert behavior end-to-end.
Scenario checks: cover multi-step sequences and fault transitions via Scenarios.
Snapshot fixtures: restore known-good starting states for stable regressions.
Minimal CI-shaped loop
docker compose up -d
pytest
docker compose downSee:
MiL tests: Use in Unit Tests (MiL)
Snapshots: Snapshots — Getting Started
Last updated

