Testing Strategy
Testing Strategy
Layers
- Unit tests (
tests/unit)- Validate model behavior and deterministic module logic.
- Integration tests (
tests/integration)- Validate end-to-end workflow across Stage 1/2/3 and storage.
- Benchmark tests (
tests/benchmarks)- Validate throughput/latency envelopes on local hardware.
- Lab tests (
tests/lab)- Validate learning and behavioral convergence patterns.
Commands
pytest -q
mypy src
Optional (requires local tools installed):
pytest --cov=src --cov-report=term-missing
ruff check src tests
Non-Flaky Constraint
- Tests use deterministic providers by default.
- No network calls are required for default test runs.