What problem does it solve?
This Skill provides a systematic protocol for writing automated tests, validating functionality against acceptance criteria, and ensuring comprehensive code coverage. It streamlines the process of test creation, from unit to end-to-end tests, helping you build robust and reliable software.
Core Features & Use Cases
- Test Scope Determination: Guides you in identifying the appropriate test types (unit, integration, E2E) based on project documentation and requirements.
- Pattern Adherence: Helps you understand and follow existing test frameworks, mocking patterns, and data fixtures within your codebase.
- Use Case: When developing a new feature, use this Skill to automatically generate unit, integration, and E2E tests based on your user stories and API contracts. It ensures all acceptance criteria are met and edge cases are covered, reducing manual testing effort and improving code quality.
Quick Start
Example: Write unit tests for the AuthService
Focus on validateCredentials function in src/services/auth.ts.
Ensure valid/invalid credentials and edge cases are covered.