generate-tests

Generate unit, integration, and edge-case tests with Arrange-Act-Assert patterns.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/hpsgd/claude-marketplace --skill generate-tests-hpsgd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-tests
Source: https://github.com/hpsgd/claude-marketplace/tree/main/plugins/engineering/qa-engineer/skills/generate-tests
Command: npx skills add https://github.com/hpsgd/claude-marketplace --skill generate-tests-hpsgd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of tests and test scaffolding from code and requirements, reducing manual toil and increasing test coverage.

Core Features & Use Cases

  • Test discovery and public API analysis from the codebase.
  • Generate happy-path tests, edge cases, and error cases across languages and testing frameworks.
  • Produce organized test scaffolds with Arrange-Act-Assert patterns and consistent naming.
  • Support a TDD-driven workflow (Red–Green–Refactor) with guardrails to prevent ineffective changes.

Quick Start

Provide the codebase and target artifacts, and the tool will generate initial tests and scaffolding for identified public APIs.

Frequently Asked Questions about generate-tests

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

FAQPage Schema
How do I generate unit tests and test scaffolding for my code?

Test scaffolding automates test creation by analyzing your codebase's public API surface to generate structured test code with Arrange-Act-Assert patterns. It covers unit, integration, edge-case, and error scenarios across diverse languages and testing frameworks.

Can I use test generation for Test-Driven Development workflows?

Yes, test generation supports Test-Driven Development workflows through the Red-Green-Refactor cycle. It analyzes public APIs and generates initial test scaffolds with guardrails to prevent ineffective changes, satisfying TDD requirements for structured test creation.

Does automated test code generation cover edge cases and error scenarios?

Automated test code generation covers edge cases and error scenarios by enumerating happy-path, edge, and error conditions from the public API surface. It produces structured tests with Arrange-Act-Assert patterns across diverse languages and testing frameworks.

What's the best way to scaffold tests across different testing frameworks?

The best way to scaffold tests across frameworks is using automated generation tools that analyze your codebase's public API and produce organized test structures. This ensures consistent naming and Arrange-Act-Assert patterns across diverse languages and test frameworks.

Do I need to provide my entire codebase to generate test scaffolds?

You need to provide the codebase and target artifacts so the tool can perform test discovery and public API analysis. This allows it to generate initial tests and scaffolding for identified public APIs, reducing manual toil while increasing coverage.