| name | description |
|---|---|
testing-anti-patterns |
Use when writing or changing tests, adding mocks, or tempted to add test-only methods to production code - prevents testing mock behavior, production pollution with test-only methods, and mocking without understanding dependencies |
Tests must verify real behavior, not mock behavior. Mocks are a means to isolate, not the thing being tested.