Testing
Unit and integration tests
Run all tests with:
cargo testThe evanalyzer_cfg crate includes a round-trip deserialisation test that validates example project files:
cargo test -p evanalyzer_cfgThe fixture tests/fixtures/example.improj is used to verify that project files serialise and deserialise without loss.
Code coverage
cargo llvm-cov # terminal reportcargo llvm-cov --html # HTML report in target/llvm-cov/See Building for installation instructions.
Manual verification
Before each release, a set of analysis pipelines is run on reference images to verify:
- Correct object counts match expected values.
- Exported CSV files match reference outputs.
- No regressions in segmentation quality.
Reference test images and expected outputs are maintained separately in the test repository.