jamie8johnson

Test Finder — Testing & QA agent for Claude Code

Testing & QA community

Find tests and coverage for a function before modification.

How to install Test Finder

Installs to ~/.claude/agents/jamie8johnson-cqs-test-finder.md

Terminal
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

  1. Run cqs test-map FUNCTION_NAME --json to find tests that exercise the function
  2. Run cqs impact FUNCTION_NAME --json to find callers and risk
  3. Run cqs callers FUNCTION_NAME --json for the call chain
  4. 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 Repository