Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By flight505v1.0.0MITIn 1 marketplace
Automatically generate comprehensive unit tests from source code with multiple testing framework support
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
unit-tests, test-generation, jest, pytest, mocha, junit, agent-skills
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Automatically generate comprehensive unit tests from source code with intelligent framework detection and best practices.
/plugin install unit-test-generator@claude-code-plugins-plus
/generate-tests src/utils/validator.js
/generate-tests --framework pytest src/api/users.py
/gut models/UserModel.ts
The plugin creates test files with:
| Language | Frameworks |
|---|---|
| JavaScript/TypeScript | Jest, Mocha, Vitest, Jasmine |
| Python | pytest, unittest, nose2 |
| Java | JUnit 5, TestNG |
| Go | testing package |
| Ruby | RSpec, Minitest |
| C# | xUnit, NUnit, MSTest |
| PHP | PHPUnit |
| Rust | cargo test |
For a JavaScript validation function:
// Input: src/utils/validator.js
function validateEmail(email) {
if (!email) return false;
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
}
// Generated: src/utils/validator.test.js
describe('validateEmail', () => {
it('should return true for valid email addresses', () => {
expect(validateEmail('[email protected]')).toBe(true);
expect(validateEmail('[email protected]')).toBe(true);
});
it('should return false for invalid email addresses', () => {
expect(validateEmail('notanemail')).toBe(false);
expect(validateEmail('@example.com')).toBe(false);
expect(validateEmail('user@')).toBe(false);
});
it('should return false for null or undefined inputs', () => {
expect(validateEmail(null)).toBe(false);
expect(validateEmail(undefined)).toBe(false);
expect(validateEmail('')).toBe(false);
});
it('should handle edge cases', () => {
expect(validateEmail('[email protected]')).toBe(true); // Minimal valid email
expect(validateEmail('[email protected]')).toBe(true); // Multiple dots
});
});
The plugin follows testing best practices:
npm install --save-dev jest)MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub flight505/skill-forge --plugin unit-test-generatorPlugins from other owners that cover similar ground