test-generator

Generate unit, integration, and end-to-end tests for React components, APIs, and service modules.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/alexanderjamesmcleod/makecents --skill test-generator-alexanderjamesmcleod
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/alexanderjamesmcleod/makecents/tree/main/src/skills/development/test-generator.skill
Command: npx skills add https://github.com/alexanderjamesmcleod/makecents --skill test-generator-alexanderjamesmcleod

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Intelligent test generation from components, functions, and APIs to accelerate software quality assurance by creating tests automatically.

Core Features & Use Cases

  • Unit and integration: Generate unit tests for modules and integration tests for API layers, plus end-to-end tests for flows.
  • Mocks, fixtures, and stubs: Create mock data factories, test fixtures, and stubs to speed up test scaffolding.
  • Coverage-aware workflows: Identify gaps and suggest test improvements to increase coverage across projects.

Quick Start

Run test-generator with a target artifact to generate appropriate tests immediately.

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 unit tests and integration tests from existing code?

To auto-generate unit tests and integration tests from existing code, you can use a test generation tool that parses your components, API handlers, and service modules to automatically create test suites, mocks, and fixtures.

Can I generate end-to-end tests and mocks for React components and APIs?

Yes, you can generate end-to-end tests and mocks for React components and APIs by running a CLI test generator with specific subcommands for component, api, e2e, and mocks to automatically scaffold the required test files.

Does this test generation tool work with Vitest and Jest?

Yes, this test generation tool works with both Vitest and Jest. It defaults to generating Vitest configurations but includes an option to output Jest-compatible tests for your unit, integration, and end-to-end testing workflows.

What is the best way to find test coverage gaps in my software project?

The best way to find test coverage gaps is to use a coverage-aware test generation workflow that analyzes your codebase to identify untested paths and suggests specific test improvements to increase overall coverage.

How do I create test fixtures and stubs to speed up test scaffolding?

You can create test fixtures and stubs to speed up test scaffolding by using a CLI test generator with dedicated fixtures and stubs subcommands, which automatically build mock data factories for your service modules and API handlers.