Unit Testing Skill
Generate comprehensive unit tests for any codebase, following your team's established patterns and conventions.
Capabilities
- •Code Analysis: Understands function signatures, dependencies, and edge cases
- •Pattern Matching: Follows existing test patterns in your codebase
- •Framework Awareness: Works with pytest, unittest, Jest, Mocha, and others
- •Mock Generation: Creates appropriate mocks for external dependencies
- •Fixture Creation: Generates reusable test fixtures
Included Components
| Component | Purpose |
|---|---|
instructions/testing-patterns.instructions.md | Team testing standards, always load |
prompts/generate-tests.prompt.md | Test generation workflow - follow this when writting new tests |
references/TEST-FIXTURES.md | Common fixture patterns - leverage when you need to create fixtures for your tests |