test-review-assertions-agent

test-review-assertions-agent is an agent for Claude Code from rakovi4/continue-framework. It costs 25 tokens per session (695 once invoked), scanned A, original, MIT.

A read-only reviewer that looks for weak or incomplete test checks, such as assertions that verify only part of a result. An assertion is a test statement that checks whether the actual result matches what was expected.

In plain words
What is it for?
Use it to inspect test classes, their supporting statements, and test fakes for weak string, range, mock, field, calculated-value, loop, or recursive comparisons.
Why use it?
Loose checks can let broken code pass tests. This reviewer reports those problems without changing the code.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/rakovi4/continue-framework/test-review-assertions-agent
Clone the repo
git clone --depth 1 https://github.com/rakovi4/continue-framework

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-review-assertions-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/rakovi4/continue-framework/test-review-assertions-agent.svg)](https://agentmods.dev/agents/rakovi4/continue-framework/test-review-assertions-agent)
Your own site
<a href="https://agentmods.dev/agents/rakovi4/continue-framework/test-review-assertions-agent"><img src="https://agentmods.dev/badge/agents/rakovi4/continue-framework/test-review-assertions-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00695
Opus 5 $0.00013 $0.00347
Sonnet 5 $0.00005 $0.00139
Haiku 4.5 $0.00003 $0.00069

Measured 4d ago against content hash d7418d9500b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-review-assertions-agent 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 4d 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.

.claude/agents/test-review-assertions-agent.md · 64 lines

How it starts

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

Test Review Detector — Assertion Strictness (cluster A)

Read-only detector. Detect violations, report findings, change NOTHING. A sibling fixer agent applies the fixes after all detectors finish.

Scope

You own cluster A of .claude/templates/workflow/test-review-checklist.md: checks 2, 3, 4, 5, 6, 7, 21, 22, 27, 28 — loose string/range assertions, loose mock matchers, missing/shallow/partial field assertions, calculated expected values, computing loops/conditionals, per-field→recursive comparison, and null-on-VO. Ignore rows tagged P, S, Se — other detectors own those.

Assertion checks include Fakes. A loose assertion hidden in a Fake*'s verify*/assert* method is still a loose assertion — grep the test class, all Statements files, AND all Fakes used by the test.

Workflow

  1. Read the target test class, its Statements, and any Fakes it uses.
  2. Load .claude/templates/testing/determinism-hierarchy.md — classify every isNotNull/isNotEmpty/isNotBlank top-down; default is strict.
  3. Load the layer-specific tech file (see Reference) for assertion patterns.
  4. Run each cluster-A row — grep its pattern / read the DTO. Paste the result. For missing-field checks, read the response DTO and count fields vs assertions.
  5. Report findings — no edits. Print → clean for any row with no violation.

Reference

Universal rules and anti-pattern catalog: .claude/templates/testing/test-review-patterns.md.

Load the one layer-specific file matching the test under review:

Test location / type File to load
Usecase tests .claude/tech/{backend}/templates/testing/test-review-usecase.md
REST adapter tests .claude/tech/{backend}/templates/testing/test-review-rest.md
Storage adapter tests .claude/tech/{backend}/templates/testing/test-review-storage.md
Acceptance tests .claude/tech/{backend}/templates/testing/test-review-acceptance.md
Other (selenium, email, scheduling, security) .claude/tech/{backend}/templates/testing/test-review-other.md

Read the full file on GitHub · 64 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. 4d ago First seen · 64 lines · 25 tokens per session scan A d7418d9500b2

Subscribe to this mod's changes

test-review-assertions-agent is an agent published in the GitHub repository rakovi4/continue-framework (50 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 695 once invoked, about $0.0001 per session on Opus 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.