unit-test-writing
Installation
SKILL.md
Unit Test Writing
Purpose
Write effective unit tests that verify individual components work correctly in isolation, catch regressions, and document expected behavior.
When to Use
- TDD (before implementation)
- After implementation (coverage)
- Bug reproduction
- Refactoring safety net
Prerequisites
- Testing framework configured
- Mocking utilities available
- Code to test (or spec for TDD)