v0.5.0 — Test Quality Review
What's New
Mode 4: Test Quality Review — a dedicated test suite health audit powered by four classic testing books.
New Features
/brooks-lint:brooks-test— full test quality audit across six test-space decay risks- PR Review Step 7: Quick Test Check — lightweight three-signal test scan automatically appended to every PR review (Coverage Illusion, Mock Abuse, Test Obscurity)
- Six test decay risks mirroring the six production decay risks:
- T1: Test Obscurity — Assertion Roulette, Mystery Guest, ambiguous test names
- T2: Test Brittleness — Eager Test, over-specified mocks, implementation-coupled tests
- T3: Test Duplication — Lazy Test, copy-pasted setup, redundant cross-layer coverage
- T4: Mock Abuse — 3+ mocks, mock-call-only assertions, test-only production methods
- T5: Coverage Illusion — happy-path only, untested error paths, legacy code being modified without tests
- T6: Architecture Mismatch — inverted test pyramid, no seam points, missing characterization tests
Source Books Added
- Gerard Meszaros — xUnit Test Patterns (2007)
- Roy Osherove — The Art of Unit Testing (2009, 3rd ed. 2023)
- Google Engineering — How Google Tests Software (2012)
- Michael Feathers — Working Effectively with Legacy Code (2004)
Also Fixed
hooks/session-start:/brooks-testnow listed in the session context — Mode 4 is discoverable without reading the README.claude-plugin/plugin.json: version and description updated to reflect v0.5 capability setevals/evals.json: benchmark now covers all four modes (was Mode 1–3 only)
brooks-lint now covers 10 classic engineering books across four analysis modes. Every finding still follows the Iron Law: Symptom → Source → Consequence → Remedy.