Testing Anti-Patterns
obra/superpowers-skills/skills/testing/testing-anti-patterns
PlatformClaude Code
Never test mock behavior. Never add test-only methods to production classes. Understand dependencies before mocking.
When to use
when writing or changing tests, adding mocks, or tempted to add test-only methods to production code
Claude Code