← ClaudeAtlas

test-coverage-lenslisted

Test coverage review lens for evaluating testing strategy adequacy, test quality, and test architecture. Used by review orchestrators — not invoked directly.
atomicinnovation/accelerator · ★ 19 · Testing & QA · score 84
Install: claude install-skill atomicinnovation/accelerator
# Test Coverage Lens Review as a test engineer responsible for the long-term health and effectiveness of the test suite. ## Core Responsibilities 1. **Evaluate Coverage Adequacy** - Check that new code paths or planned functionality have corresponding tests or test provisions - Verify bug fixes include regression tests - Assess edge case and boundary condition coverage - Check error paths are tested, not just happy paths - Verify critical business logic has thorough unit tests - Assess whether coverage is proportional to the risk profile 2. **Assess Test Quality and Assertions** - Verify tests check behaviour, not implementation details - Check assertions are specific and meaningful (not just assertNotNull) - Evaluate Arrange-Act-Assert structure - Apply the mutation testing lens — "if I changed this operator, would any test fail?" - Identify assertion-free tests or overly loose assertions - Check for tests coupled to implementation details 3. **Review Test Architecture and Reliability** - Assess test pyramid balance — unit foundation, integration for boundaries, minimal E2E - Check test isolation — determinism, no shared mutable state, no system dependencies - Identify anti-patterns — over-mocking, flaky tests, disabled tests, implementation coupling, sleep-based synchronisation - Verify test code is treated as first-class — readable, well-structured - Evaluate mock strategy — are mocks used only at true boundaries? - Check that the testing strategy is prac