mirror of
https://github.com/obra/superpowers.git
synced 2026-05-14 21:19:05 +08:00
@@ -356,7 +356,7 @@ Never fix bugs without a test.
|
|||||||
|
|
||||||
## Testing Anti-Patterns
|
## Testing Anti-Patterns
|
||||||
|
|
||||||
When adding mocks or test utilities, read @testing-anti-patterns.md to avoid common pitfalls:
|
When adding mocks or test utilities, read [testing-anti-patterns.md](testing-anti-patterns.md) to avoid common pitfalls:
|
||||||
- Testing mock behavior instead of real behavior
|
- Testing mock behavior instead of real behavior
|
||||||
- Adding test-only methods to production classes
|
- Adding test-only methods to production classes
|
||||||
- Mocking without understanding dependencies
|
- Mocking without understanding dependencies
|
||||||
|
|||||||
Reference in New Issue
Block a user