test-generator

Generate unit, integration, and end-to-end tests for Jest, Pytest, Vitest, and Playwright.

Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Greenmamba29/skillsdotmd_web --skill test-generator-greenmamba29
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/Greenmamba29/skillsdotmd_web/tree/main/.agents/skills/test-generator
Command: npx skills add https://github.com/Greenmamba29/skillsdotmd_web --skill test-generator-greenmamba29

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive test suites for existing code, reducing the burden of manual test writing and improving code quality.

Core Features & Use Cases

  • Automated Test Generation: Creates unit, integration, and end-to-end tests for various code types.
  • Framework Support: Supports popular testing frameworks like Jest, Pytest, Vitest, and Playwright.
  • Use Case: Quickly generate a full test suite for a new API endpoint, ensuring robust coverage before deployment.

Quick Start

Use the test-generator skill to create unit and integration tests for the file './src/api/orders.ts' using Jest.

Frequently Asked Questions about test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically generate unit and integration tests for my codebase?

You can automatically generate unit and integration tests by analyzing functions, classes, and API routes to produce test suites with edge cases and mocks, targeting a specified coverage goal.

Can I use automated test generation with Jest, Pytest, Vitest, and Playwright?

Yes, automated test generation supports multiple frameworks including Jest, Pytest, Vitest, and Playwright to create unit, integration, and end-to-end tests for various code types.

How do I create a full test suite for a new API endpoint before deployment?

You can create a full test suite for a new API endpoint by analyzing the API routes to automatically generate tests with edge cases and mocks, ensuring robust coverage before deployment.

What is the best way to achieve a specified code coverage target without manual test writing?

The best way to achieve a specified code coverage target is to automate test suite creation, which analyzes your codebase and generates tests with edge cases and mocks to reduce manual writing burden.

Does automated test generation work for both end-to-end and unit testing?

Yes, automated test generation works for both end-to-end and unit testing, analyzing your codebase across multiple supported frameworks to produce comprehensive test suites.

Why do I need to generate mocks and edge cases when automating tests for existing code?

Generating mocks and edge cases when automating tests for existing code ensures comprehensive test suites that improve code quality and handle unexpected inputs robustly.