What problem does it solve?
This Skill automates the creation of comprehensive, maintainable test suites for existing codebases to reduce manual effort, increase confidence in changes, and catch regressions early.
Core Features & Use Cases
- Test discovery: Inspect source files to identify public functions, methods, and entry points that require tests.
- Framework-aware generation: Detect and follow the project's existing testing framework and conventions (pytest, unittest) and produce tests that match style and patterns.
- Coverage strategy: Produce tests covering happy paths, edge cases, error handling, and integration flows while recommending fixtures and mocks for external dependencies.
- Use Case: Turn an untested Python module into a suite of descriptive pytest tests that mock external APIs, assert specific return values and side effects, and follow project naming and fixture conventions.
Quick Start
Generate a pytest test suite for the module at path src/utils.py covering happy path, edge cases, and mocked external calls.