| name | unit-test |
|---|---|
| description | Use when writing or reviewing unit tests that test a single function, class, or module in isolation with all external dependencies replaced by test doubles. |
A unit test verifies the behaviour of one unit (function, class, or module) in complete isolation. Every dependency that crosses an architectural boundary is replaced by a test double. Speed and determinism are non-negotiable.