Autonomous workflow for generating comprehensive test suites, identifying untested code, and establishing test strategies. Handles test strategy, test generation, coverage analysis, and testing infrastructure setup.
- Phase 1: Discovery — Detect test framework, scan for existing tests, identify coverage gaps
- Phase 2: Strategy — Test strategy tailored to codebase and risk profile
- Phase 3: Generation — Generate tests for happy paths, edge cases, error scenarios
- Phase 4: Coverage analysis — Identify untested code, suggest additional tests
- Phase 5: Verification — Run suite, confirm coverage improvement, document strategy
e2e-testing-patterns— E2E testing methodology and patternstesting-patterns— Unit/integration/E2E patternstesting-workflow— Testing workflowquality-gates— Quality gatescode-review— Code review patterns- Command:
test-feature— Single-feature test generation
- "write tests for [feature/module]"
- "test this [file/directory]"
- "improve test coverage"
- "add tests for [component]"
- "testing strategy for [project]"
- "set up testing infrastructure"
From your project root:
mkdir -p .cursor/agents
cp -r ~/.ai-skills/agents/testing .cursor/agents/testingmkdir -p ~/.cursor/agents
cp -r ~/.ai-skills/agents/testing ~/.cursor/agents/testingFrom your project root:
mkdir -p .claude/agents
cp -r ~/.ai-skills/agents/testing .claude/agents/testingmkdir -p ~/.claude/agents
cp -r ~/.ai-skills/agents/testing ~/.claude/agents/testingFor best results, also install the skills this agent references (see Skills Used above).
Part of the Agents directory.