test-generator

Generate pytest and Jest test suites with fixtures, mocks, and parametrized cases.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/goodstoriesworld/coco-agent-skills --skill test-generator-goodstoriesworld
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/goodstoriesworld/coco-agent-skills/tree/main/vendored/test-generator
Command: npx skills add https://github.com/goodstoriesworld/coco-agent-skills --skill test-generator-goodstoriesworld

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Auto-generate comprehensive test suites for codebases, helping teams quickly add unit, integration, and edge-case tests.

Core Features & Use Cases

  • Analyze code to identify testable paths, dependencies, and edge cases.
  • Generate framework-specific tests for Python (pytest) and JavaScript (Jest), including fixtures, mocks, and parametrized cases.
  • Provide organization and style guidelines to improve maintainability and test quality, with examples for unit, integration, and end-to-end scenarios.

Quick Start

Run the Test Generator on your repository to automatically create unit and integration tests.

Frequently Asked Questions about test-generator

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

FAQPage Schema
How do I auto-generate pytest and Jest test suites for my codebase?

To auto-generate test suites, the tool analyzes your codebase to identify testable paths and edge cases, then produces framework-specific templates with fixtures, mocks, and parametrized cases for pytest and Jest.

What is the best way to generate unit and integration tests for Python and JavaScript projects?

Generating unit and integration tests involves analyzing code dependencies and edge cases to output framework-specific templates, covering unit, integration, and end-to-end scenarios with style guidelines for maintainability.

Can I automatically create mocks and fixtures for my pytest tests?

Yes, you can automatically create mocks and fixtures for pytest tests by running the test generator on your repository, which analyzes dependencies and generates framework-specific templates with parametrized cases.

Does the test generator support both Jest and pytest for unit testing?

Yes, the test generator supports both Jest and pytest for unit testing, analyzing your code to produce framework-specific templates that include mocks, fixtures, and parametrized cases for JavaScript and Python projects.

How do I add edge case tests to my existing test automation workflow?

To add edge case tests to your test automation workflow, the generator analyzes your code to identify edge cases and dependencies, then outputs comprehensive test templates covering unit, integration, and end-to-end scenarios.

Are there style guidelines provided when generating test suites for codebases?

Yes, style guidelines are provided when generating test suites, offering organization and maintainability examples for unit, integration, and end-to-end scenarios to improve overall test quality in your codebase.