# Test Generation

> Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling. Use when generating tests for existing code, improving coverage, or creating systematic test suites. Triggers: 'generate tests', 'add tests', 'test coverage', 'write tests for', 'create test suite'.

- Skill: `greyhaven-ai-claude-code-config/test-generation` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add greyhaven-ai-claude-code-config/test-generation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/greyhaven-ai-claude-code-config/test-generation/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: greyhaven-ai (https://skillmd.com/u/greyhaven-ai-claude-code-config)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/greyhaven-ai-claude-code-config/test-generation

---


# Test Generation Skill

Comprehensive test suite generation with unit tests, integration tests, edge cases, and error handling.

## Description

Automated test generation analyzing code structure and generating thorough test coverage for existing implementations.

## What's Included

- **Examples**: Unit test generation, integration tests, edge cases
- **Reference**: Test patterns, coverage strategies
- **Templates**: Test suite templates for different frameworks

## Use When

- Need test coverage for existing code
- Improving low coverage areas
- Systematic test creation

## Related Agents

- `test-generator`

**Skill Version**: 1.0

