mirror of
https://github.com/obra/superpowers
synced 2026-07-12 13:44:28 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0276f622d3 |
@@ -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