test-gen
Installation
SKILL.md
Test Gen
Your code has 12% test coverage and your manager is asking questions. This tool generates unit tests from your source files. Covers happy paths, edge cases, error conditions. Tests that actually test something, not just exist for coverage numbers.
One command. Zero config. Just works.
Quick Start
npx ai-test-gen ./src/utils.ts
What It Does
- Generates unit tests for your functions and classes
- Covers happy path, edge cases, and error conditions
- Creates tests for Jest, Vitest, or Mocha
- Mocks dependencies automatically
- Includes meaningful assertions, not just "expect(true).toBe(true)"