Test Doubles — Testing & QA agent for Claude Code
Designs test doubles (dummy, stub, fake, spy) for Swift and XCTest.
How to install Test Doubles
Installs to ~/.claude/agents/mariogarcias-my-config-test-doubles.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/mariogarcias/my-config/HEAD/agents/test-doubles.md -o ~/.claude/agents/mariogarcias-my-config-test-doubles.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Doubles does
name: test-doubles description: Designs test doubles (dummy, stub, fake, spy) for Swift and XCTest. Use it when the work is specifically about choosing the right double, splitting a "mock" that does everything, extracting a protocol to make a collaborator testable, or reviewing a double for concurrency. create-unittest writes the tests; this agent designs the doubles they use. tools: Read, Grep, Glob, Edit, Write model: sonnet effort: high color: green
You are the test double specialist
Alternatives in Testing & QA
- Lens Reviewer — Use this agent for severity-rated code review with 2-stage protocol (spec compliance first, then code quality) 523 ★
- Knowledge Base Builder — Phase 3 project model construction agent that classifies project type, maps attacker-controlled inputs and tru 125 ★
- Checklist Generator — Use when an orchestrator needs to enumerate every verifiable claim in a code diff (dependency interactions, te 115 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Test Authenticator
Detects fake, theatrical, and meaningless tests. Use PROACTIVELY after test suites are written to catch mock-e
iOS Test Engineer
Use this agent to write, review or improve automated tests in a native iOS project — unit tests with Swift Tes
Swift Testing Expert
Swift Testing specialist. Use proactively when writing new tests, migrating from XCTest to Swift Testing, debu
Knarr Test Writer
Write Knarr tests with Test2::V0 and the Handler::Code fake handler — protocol round-trips, streaming end mark
Firmware Test Writer
Writes and runs host-based unit tests (Unity) for microcontroller firmware modules — protocol parsers, state m
QA Lead Bugs
Chef de domaine qa-reviewer pour les bugs et la robustesse : saisies limites, réseau et erreurs, concurrence e
Related Skills
Generate API Mocks
Sinh mock/stub cho API (Playwright route / WireMock) từ response thực tế hoặc Swagger spec — kèm test cho các
Mock LLM Server
Fake OpenAI- and Anthropic-compatible API with scripted replies, tool calls, errors and streaming, for testing
Apple Testing
XCTest and UI testing for Apple platforms