Automatically generate comprehensive unit tests from source code with multiple testing framework support
Installation
Open Claude Code and run this command:
/plugin install unit-test-generator@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
What It Does
Automatically generate comprehensive unit tests from source code with intelligent framework detection and best practices.
Features
- Multi-framework support - Jest, pytest, JUnit, Go testing, RSpec, and more
- Intelligent test generation - Analyzes code to create relevant test cases
- Complete coverage - Happy paths, edge cases, error handling
- Mock generation - Automatic mocking of external dependencies
- Best practices - Arrange-Act-Assert, descriptive names, proper structure
Skills (1)
Test automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions.
ReadWriteEditGrepGlobBash(test:unit-*)
How It Works
Generate tests for a file
/generate-tests src/utils/validator.js
Specify framework explicitly
/generate-tests --framework pytest src/api/users.py
Use shortcut
/gut models/UserModel.ts