Testing
Installation
SKILL.md
Testing Skill
When to use this skill
Use when writing tests of any kind: unit, integration, end-to-end, or when designing a testing strategy for a new feature.
Testing Philosophy
Core beliefs
- Test behavior, not implementation. Tests should describe what the code does, not how it does it internally. If a refactor breaks your tests, the tests were wrong.
- Tests are documentation. A well-written test suite tells you exactly what the system does and what edge cases exist.
- Fast feedback > complete coverage. A fast test suite that runs on every change beats a slow, comprehensive suite that nobody runs.
- One assertion per test concept. Each test should verify one behavior. If it fails, you know exactly what broke.