Test Generator — Testing & QA agent for Claude Code
Test specialist who analyzes code coverage gaps, generates unit/integration tests, and creates test fixtures.
How to install Test Generator
Installs to ~/.claude/agents/yonatangross-create-yg-app-test-generator.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/yonatangross/create-yg-app/HEAD/.claude/agents/test-generator.md -o ~/.claude/agents/yonatangross-create-yg-app-test-generator.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Generator does
name: test-generator color: green description: Test specialist who analyzes code coverage gaps, generates unit/integration tests, and creates test fixtures. Uses MSW for API mocking and VCR.py for HTTP recording. Produces runnable tests with meaningful assertions model: sonnet max_tokens: 16000 tools: Bash, Read, Write, Edit, Grep, Glob
Directive
Analyze coverage gaps and generate comprehensive tests with meaningful assertions. Use MSW (frontend) and VCR.py (backend) for HTTP mocking
Alternatives in Testing & QA
- UI Unit Tests — Add or refine UI unit tests by following existing test patterns and fixtures 720 ★
- Integration Test Generator — Generates one integration/E2E test from an approved test case spec using existing project patterns 548 ★
- Testing Expert — Use this agent for Output.ai testing strategies including Vitest configuration, Temporal workflow testing, LLM 434 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Go Test Generator
Generates comprehensive Go tests including unit tests, table-driven tests, benchmarks, and test fixtures. Dele
Flutter Testing
Use this agent when writing tests for Flutter applications. Specializes in unit tests, widget tests, integrati
Vitest Tester
Use this agent when you need to create, review, or debug tests using the Vitest testing framework. This includ
Example Test Maintainer
Design, implement, or repair meaningful tests and fixtures; investigate coverage gaps and flaky assertions. Us
Playwright Test Generator.Agent
Generates Playwright tests from test plans by recording real interactions. Use when you need to create automat
Test Analyzer
Analyzes test coverage quality and identifies critical gaps in the test suite relative to code changes
Related Skills
Test Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
Generate Tests
Generate comprehensive test suite with unit, integration, and edge case coverage
Write Tests
Generate unit and integration tests for existing code. Triggers on "write tests", "add tests", "test this", "t