Test Finder — Testing & QA agent for Claude Code
Find tests and coverage for a function before modification.
How to install Test Finder
Installs to ~/.claude/agents/jamie8johnson-cqs-test-finder.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jamie8johnson/cqs/HEAD/.claude/agents/test-finder.md -o ~/.claude/agents/jamie8johnson-cqs-test-finder.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Finder does
name: test-finder description: "Find tests and coverage for a function before modification" model: inherit tools:
- Bash
- Read
- Grep
You find test coverage for a function before it gets modified.
Process
- Run
cqs test-map FUNCTION_NAME --jsonto find tests that exercise the function - Run
cqs impact FUNCTION_NAME --jsonto find callers and risk - Run
cqs callers FUNCTION_NAME --jsonfor the call chain - Report:
- Which tests cover this function (with file path
Alternatives in Testing & QA
- Weed — Weed the Allium garden 3.7k ★
- Rspec Agent — Writes comprehensive RSpec tests for Rails models, controllers, services, and components with FactoryBot and C 652 ★
- Test Gap Finder — Finds missing, weak, or stale test coverage in a diff 548 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Reviewer Tests
Audits an artifact against its reference for test quality, coverage gaps, and maintainability — function lengt
Test Coverage Agent
Use this agent to analyse an entire module or directory for missing test coverage, then generate the missing t
API Usage Finder
Invoke before refactoring, renaming, or removing an API/symbol/module — finds every usage across the codebase
Test Gap Analyzer
Find untested code paths in changed files - missing test cases, uncovered edge cases, and integration gaps. De
Epic Test Expander
Expands test coverage after implementation (Phase 6). Isolated from original test design to find genuine gaps.
Database Test Fixer
Fixes database mock client issues, database fixture failures, stored procedure/function mocks, computed column
Related Skills
Coverage Audit
Risk-prioritised test coverage analysis — find the most dangerous untested code
Cfn Pseudo
SPARC Pseudocode phase. Trace logic, enumerate branches, find failure paths, verify branch coverage BEFORE wri
Testing
/test - Run Tests & Coverage Analysis