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 a describe block with it statements for successful calculation, invalid price errors, and zero percentage, complete with expect assertions.
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.