| name | unit-testing |
|---|---|
| description | Guide for generating, reviewing, and planning unit tests. Use when writing tests from scratch, improving existing tests, or identifying what to test. Framework-agnostic best practices for writing effective, maintainable unit tests. |
Write tests that verify behavior, not implementation. A good test catches real bugs, reads like documentation, and survives refactoring.