# How to use Claude to add tests with subagents

Claude Code split a testing backlog into non-overlapping tasks, launched 26 subagents, and helped the author review the resulting tests over several days.

Agent: Claude (via Claude Code)
Tools: Claude Code, Subagents
Category: Software & DevOps
Date: 2026-01-25

Outcome: The author reported about 20 minutes for the generated work and judged the reviewed tests comparable to ones they would have written.

## Steps

1. Specify the testing work and develop a technical plan.
2. Ask Claude to divide the work into non-overlapping pieces.
3. Launch subagents to implement tests for those pieces.
4. Review the tests over several days and ask Claude to inspect sections.

Human oversight: The author spent a couple of days reviewing the tests and asked Claude to review sections carefully.

Source: [esperent on Hacker News](https://news.ycombinator.com/item?id=46749612)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-add-tests-with-subagents/
