testing
Installation
SKILL.md
Testing Rules
Language-Specific References
Read a language reference only when the repository uses that language and the reference affects the current test or check:
- TypeScript/Vitest: references/typescript.md
Repository commands and established conventions take precedence over generic examples.
TDD Process
Use RED → GREEN → REFACTOR when a behavior change can be represented by a focused failing test.
RED
- Write or select a test that observes the required behavior.
- Run it and confirm the current implementation does not satisfy the new expectation.
- If the test already passes, inspect whether the outcome is already satisfied, the test observes the wrong boundary, or implementation work is still required elsewhere.