Skills

Coverage Loop

Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing...

Install

npx skills add fallow-rs/fallow --skill coverage-loop -g -a claude-code -y
Repository
fallow-rs/fallow5.3k
Category
Testing
Updated
3d ago
License
MIT
Context cost
Lightabout 133 tokens
Runs scripts
No, instructions only

What it does

Iteratively improve Fallow Rust test coverage with cargo-llvm-cov, prioritizing meaningful untested behavior and preserving runtime correctness.

Coverage loop

  1. Capture a coverage baseline with the repository-supported command.
  2. Select uncovered behavior by risk, not by easiest lines.
  3. Add behavior-focused tests that survive refactors.
  4. Re-run targeted tests and the same coverage command.
  5. Keep only tests that improve meaningful coverage or lock a real invariant.
  6. Repeat until the selected risk area is covered or remaining gaps require a separate design change.
  7. Run review.

Do not add assertions that merely execute code without checking behavior.

More in Testing