What problem does it solve?
Rust projects can accumulate untested code paths that line-by-line review misses. This Skill runs coverage for a target source file, extracts uncovered branches, and classifies which gaps represent real-world scenarios worth testing versus defensive or dead code.
Core Features & Use Cases
- Coverage Extraction: Runs
cargo llvm-cov with text output filtered to a single target file, excluding test files from results.
- Gap Classification: Categorizes each uncovered branch as a real-world scenario, edge case, defensive branch, or dead code with a recommended action.
- Scenario Discovery: Detects missing combinations such as untested feature interactions, single-package-only tests, or untested semver range types.
- Use Case: After adding a new semver resolution feature, run this Skill against
preferred_semver.rs to find branches never exercised by the test suite and get a prioritized list of tests to write.
Quick Start
Analyze test coverage for src/preferred_semver.rs and report uncovered branches plus missing real-world test scenarios.