Test Coverage

Test Coverage is an agent for Claude Code from continuedev/continue. It costs 9 tokens per session (494 once invoked), scanned A, original, Apache-2.0.

A pull-request review that checks whether new behavior has tests for normal use, edge cases, errors, and fixed bugs.

In plain words
What is it for?
It checks unit tests for exported code, smoke and argument tests for command-line commands, regression tests for bug fixes, and integration tests for API endpoints.
Why use it?
It helps prevent new features, commands, API handlers, and bug fixes from breaking later without a test exposing the problem.

Agent for Claude Code ✓ vendor

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It checks unit tests for exported code, smoke and argument tests for command-line commands, regression tests for bug fixes, and integration tests for API endpoints.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/continuedev/continue/test-coverage
About the project

Continue is an open-source coding agent that works through a command-line interface, a VS Code extension, and a JetBrains plugin. Developers use it to assist with software development, configuration, and customization. The catalogue entries are add-ons for Continue.

continuedev/continue · 36,593 stars · on GitHub · continue.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/continuedev/continue

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Test Coverage

README.md
[![agentmods](https://agentmods.dev/badge/agents/continuedev/continue/test-coverage/github.svg)](https://agentmods.dev/agents/continuedev/continue/test-coverage)
Your own site
<a href="https://agentmods.dev/agents/continuedev/continue/test-coverage"><img src="https://agentmods.dev/badge/agents/continuedev/continue/test-coverage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Test Coverage

Your own site · 80×15
<a href="https://agentmods.dev/agents/continuedev/continue/test-coverage"><img src="https://agentmods.dev/badge/agents/continuedev/continue/test-coverage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.00494
Opus 5.5 $0.00004 $0.00198
Sonnet 5.5 $0.00002 $0.00099
Haiku 4.5 $0.00001 $0.00049

Measured 3mo ago against content hash d48f3f72b243, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Test Coverage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.continue/agents/test-coverage.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Coverage Check

Review this pull request to determine if new functionality has adequate test coverage.

When Tests Are Expected

  1. New exported functions or classes - Any new public function, class, or module that is exported and used by other parts of the codebase should have at least basic unit tests covering:

    • The happy path (expected inputs produce expected outputs)
    • Edge cases (empty inputs, null/undefined, boundary values)
    • Error cases (invalid inputs throw or return appropriate errors)
  2. New CLI commands or subcommands - Should have:

    • Smoke tests verifying the command registers and runs
    • Tests for flag parsing and validation
    • Tests for expected output format
  3. Bug fixes - If a PR fixes a bug, there should be a regression test that:

    • Reproduces the original bug condition
    • Verifies the fix resolves it
  4. New API endpoints or handlers - Should have integration tests covering:

    • Successful request/response
    • Error responses for invalid inputs
    • Authentication/authorization (if applicable)

When Tests Are NOT Expected

  • Documentation-only changes
  • Configuration file changes (YAML, JSON, Markdown)
  • CSS/styling changes
  • Dependency updates (unless they change behavior)
  • Agent definition files (.continue/agents/*.md)
  • Refactors that don't change behavior (existing tests should still pass)
  • Internal implementation changes fully covered by existing tests

What to Do

  • If new functionality lacks tests, add a PR comment noting what should be tested and why.
  • Do NOT write tests yourself. The author knows the intended behavior best.
  • If the PR includes tests but they seem incomplete (missing edge cases, no error cases), note the gaps.
  • If the PR is clearly a test-exempt category (docs, config, styling), do nothing.

Test Infrastructure Reference

  • Core: Jest (*.test.ts) + Vitest (*.vitest.ts) in core/
  • GUI: Vitest (*.test.ts) in gui/src/
  • CLI: Vitest (*.test.ts, *.e2e.test.ts) in extensions/cli/
  • Packages: Vitest in each packages/*/ directory

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 57 lines · 9 tokens per session scan A d48f3f72b243

Subscribe to this mod's changes

Test Coverage is an agent published in the GitHub repository continuedev/continue (36,593 stars, last pushed today), licensed Apache-2.0. It adds 9 tokens to every session and 494 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Test Coverage compared with agents from other repositories

Test Coverage next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Test Coveragecontinuedev/continueAgent37ktodayApache-2.0A9Claude Code
code-reviewerechoVic/blade-codeAgent18114d agoMITA30Claude Code
pre-commit-reviewercostajohnt/oss-autopilotAgent30todayMITA243Claude Code
architect-reviewerechoVic/blade-codeAgent18114d agoMITA43Claude Code
silent-failure-hunterfuxicodex/FuxiAgent3.2k6d agononeA0Claude Code
agent-sdk-verifier-pyfuxicodex/FuxiAgent3.2k6d agononeA55Claude Code
agent-sdk-verifier-tsfuxicodex/FuxiAgent3.2k6d agononeA56Claude Code