| name | testing |
| description | Comprehensive testing patterns and anti-patterns for writing and reviewing tests |
| context | fork |
Testing Skill
Use this skill when writing tests, reviewing test code, or investigating test failures.
Documentation
Read the testing guide and relevant reference based on context:
Key Principles
- Integration tests are primary — test at system entry points
- Mock at the boundary — only mock external services, not internal code
- Use real infrastructure — real database, real filesystem (temp dirs)
- Test behavior, not implementation — verify outcomes, not mock calls