testing-strategies
Installation
SKILL.md
Testing Strategies
Guidance for writing effective, maintainable tests. Covers unit testing patterns, integration testing, mocking strategies, and test organization.
Core Principles
- Test behavior, not implementation: Tests should verify what code does, not how
- Arrange-Act-Assert: Structure every test with clear setup, action, and verification
- One assertion per concept: Each test should verify one logical concept
- Independent tests: Tests should not depend on each other or shared state
- Fast feedback: Unit tests should run in milliseconds