Test Reaper

Finds and removes dead or trivial tests - duplicates, tests that only assert a mock was called, render checks that prove nothing, and suites whose name promises behavior they never observe. Distinguishes a test that tests nothing from one that tests the wrong thing, because those need opposite fixes. Trigger on: "test reaper", "reap tests", "remove trivial tests", "dead tests", "useless tests", "our tests don't test anything", "prune the test suite", "test audit", "which tests are worthless", "tests that always pass". For tests that are FAILING, use test-fix. For removing tests because their source is dead, use dead-code-cleanup.

jerseycheese e942874 8.9 KB Updated

File contents

jerseycheese/agent-skills/tree/main/skills/test-reaper commit e942874068

Frequently asked questions

npx skillmds@latest add jerseycheese/test-reaper