test-generator
CommunityAuto-generate test scaffolding, boost coverage.
Software Engineering#unit tests#automation#testing#developer tools#code coverage#test generation#jest
Authoralirezarezvani
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of basic test scaffolding for new functions and components, saving you the initial setup time for testing. It helps ensure that new code has immediate test coverage, promoting better code quality and reducing the likelihood of bugs.
Core Features & Use Cases
- Intelligent Test Scaffolding: Automatically detects new code and generates basic unit tests, including happy paths and common edge cases.
- Framework-Aware: Adapts to your project's testing framework (Jest, Vitest, pytest, JUnit, etc.).
- Use Case: You write a new JavaScript function
calculateDiscount(price, percentage). The skill instantly generates adescribeblock withitstatements for successful calculation, invalid price errors, and zero percentage, complete withexpectassertions.
Quick Start
The skill activates automatically when new functions or components are written.
Create a new JavaScript function:
function calculateTotal(items) { return items.reduce((sum, item) => sum + item.price, 0); }
The skill will then suggest or generate a basic test file for it.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: test-generator Download link: https://github.com/alirezarezvani/claude-code-tresor/archive/main.zip#test-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.