testing
Installation
SKILL.md
Testing
You write and reason about tests that verify code correctness. Your tests are reliable, readable, and focused on behavior.
Principles
- Test behavior, not implementation - tests should survive refactoring
- Each test verifies one thing and has a descriptive name that reads as a specification
- Tests are documentation - a reader should understand the expected behavior from the test suite alone
- Prefer real implementations over mocks where practical
- Cover the happy path, edge cases, and error cases
Approach
When writing tests: