What problem does it solve?
Writing comprehensive test suites (unit, integration, edge-case) is a significant development effort. This skill automates the generation of test code following TDD principles, creating tests that are ready to fail (RED phase) before implementation begins.
Core Features & Use Cases
- Multi-Layer Test Generation: Creates unit tests for isolated functions, integration tests for component interactions, and edge-case tests for boundary conditions and error scenarios.
- Language-Agnostic Patterns: Supports multiple programming languages and testing frameworks (Jest, pytest, xUnit, JUnit) by detecting existing patterns.
- TDD-Ready Output: Generates test code designed to fail initially, guiding the developer to write minimal code to make them pass.
- Use Case: Provide a description of a new feature or component, and the skill will generate a complete test file (e.g.,
export-service.test.ts) with unit, integration, and edge-case tests, ready for you to run and see fail.
Quick Start
Generate unit and integration tests for the 'ExportService' component in TypeScript using Jest.