Coverage Gaming Audit

Audit a green coverage number for tests that execute code without asserting on it - assertion-free tests, assertions only on mocks, swallowed exceptions, unreviewed snapshots - and route every finding to the mutation run that settles it. Reports by default - on an audit or diagnosis ask the finding list is the deliverable, the fix-until-green loop is not entered, and deleting a test is never interchangeable with adding the missing assertion. Reach for it when a coverage report or CRAP score goes green and you do not yet believe it, when inheriting a suite of unknown quality, or when someone says "is this coverage real", "assertion-free tests", "gamed coverage", "100% coverage but nothing is tested", "audit this test suite". Differentiator - this island owns detection of gamed coverage and the routing to mutation; the score being distrusted belongs to crap-gate and the mutation run that proves the case belongs to mutant-hunt.

Island-Dev-Crew d2a9078 5 files · 81.4 KB Updated

File contents

Island-Dev-Crew/uncle-bob-skills/tree/main/skills/coverage-gaming-audit commit d2a90785d0

Frequently asked questions

npx skillmds@latest add island-dev-crew/coverage-gaming-audit