Testing
Run Days unit and integration tests, including feature-gated suites.
Days uses a mix of unit tests and integration tests under tests/.
Run tests
Recommended:
cargo test --features test -- --show-outputIf you have cargo-nextest installed:
cargo nextest run --all-features --no-captureFeature-gated test suites
Many tests use #![cfg(feature = "test")] to enable additional invariants and helpers (for example, verifying that local time tracking matches the simulation engine clock).
Some tests also require protocol features:
- PFC tests:
--features test,l2_pfc - DCQCN tests:
--features test,dcqcn
Test fixtures
Integration tests may have adjacent TOML fixtures (for example tests/build_graph.rs + tests/build_graph.toml). Configuration examples for manual runs live under configs/.