What problem does it solve?
This Skill eliminates the manual, time-consuming process of writing unit and integration tests by automatically generating or updating test code for both frontend and backend changes. It ensures consistent test quality and accelerates development cycles, allowing developers to focus on core features.
Core Features & Use Cases
- Intelligent Code Analysis: Automatically detects code changes (via
git diff) and identifies new functions, components, and API endpoints.
- Framework-Specific Templates: Generates tests tailored for React components, custom hooks, utility functions, and backend API/service layers using predefined templates.
- Standardized Output: Adheres to a strict output format (
FORMS.md) for analysis reports, test file structures, and completion reports, ensuring consistency and readability.
- Use Case: After modifying a React component and a backend service, a developer can invoke this Skill to automatically generate comprehensive test files for both, including rendering, event, and API interaction tests, saving hours of manual test writing and ensuring high test coverage.
Quick Start
To automatically generate tests for your recent code changes, simply ask:
auto-test-generator
Or, for a specific component:
"UserProfile 컴포넌트 테스트 코드 만들어줘"