testing-principles
Installation
SKILL.md
Language-Agnostic Testing Principles
Core Testing Philosophy
- Tests are First-Class Code: Maintain test quality equal to production code
- Fast Feedback: Tests should run quickly and provide immediate feedback
- Reliability: Tests should be deterministic and reproducible
- Independence: Each test should run in isolation
Test-Driven Development (TDD)
The RED-GREEN-REFACTOR Cycle
Always follow this cycle:
- RED: Write a failing test first
- Write the test before implementation
- Ensure the test fails for the right reason
- Verify test can actually fail