automatic-test-generator
Installation
SKILL.md
Automatic Test Generator
Automatically generates comprehensive unit tests from your existing functions and classes. Analyzes function signatures, implementation details, and edge cases to create thorough test suites that improve code quality and catch bugs before production.
What This Skill Does
This skill analyzes your code and generates complete, runnable unit tests including:
- Test structure following best practices (Arrange-Act-Assert pattern)
- Happy path tests for expected behavior
- Edge case coverage (null, undefined, empty arrays, boundary values)
- Error handling tests for exceptions and validation
- Mock setup for dependencies and external services
- Type checking tests for TypeScript
- Integration test scaffolds when appropriate