test-deduplicator

Installation
SKILL.md

Test Deduplicator

Ten tests cover the same branch. Nine of them can go. But which nine? The one you keep is the one that covers something the others don't.

What makes two tests "the same"

Sameness level Evidence Deletion confidence
Textual clone Near-identical code, one value different Low — might test different boundaries
Same coverage Per-test coverage sets are equal Medium
Same coverage, subsumes Test A's coverage ⊇ Test B's High — B is redundant
Same mutants killed Mutation testing: A and B kill identical mutant sets High
Same assertions, same inputs Literally the same test, different name Very high — copy-paste accident

Coverage subsumption is the key signal. If test A covers everything test B covers and more, B adds nothing.

Step 1 — Build per-test coverage

Installs
1
GitHub Stars
1
First Seen
Mar 29, 2026
test-deduplicator — santosomar/general-secure-coding-agent-skills