Testing Anti-Patterns

obra/superpowers-skills/skills/testing/testing-anti-patterns

744 0 +744/7dDev Tools
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

All Skills