integration-test-generator

integration-test-generator is an agent for Claude Code from Enovatr-Labs/SpecRoute. It costs 58 tokens per session (515 once invoked), scanned A, original, Apache-2.0.

An integration and end-to-end test author for a user-search feature. Integration tests check several services working together, while end-to-end tests follow a complete user action through the system.

In plain words
What is it for?
Use it to test search filters, cursor-based page navigation, cache hits and misses, authentication errors, request limits, organization boundaries, and the complete search interface.
Why use it?
It finds problems that isolated unit tests can miss, including database and cache behavior, access between organizations, rate limits, and full browser flows.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to test search filters, cursor-based page navigation, cache hits and misses, authentication errors, request limits, organization boundaries, and the complete search interface.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/enovatr-labs/specroute/integration-test-generator
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/Enovatr-Labs/SpecRoute

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 integration-test-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/enovatr-labs/specroute/integration-test-generator/github.svg)](https://agentmods.dev/agents/enovatr-labs/specroute/integration-test-generator)
Your own site
<a href="https://agentmods.dev/agents/enovatr-labs/specroute/integration-test-generator"><img src="https://agentmods.dev/badge/agents/enovatr-labs/specroute/integration-test-generator/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 integration-test-generator

Your own site · 80×15
<a href="https://agentmods.dev/agents/enovatr-labs/specroute/integration-test-generator"><img src="https://agentmods.dev/badge/agents/enovatr-labs/specroute/integration-test-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 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.00058 $0.00515
Opus 5 $0.00029 $0.00258
Sonnet 5 $0.00012 $0.00103
Haiku 4.5 $0.00006 $0.00052

Measured 9d ago against content hash 395a73607c0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

integration-test-generator 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 9d 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.

examples/sample-project/.claude/agents/integration-test-generator.md · 33 lines

What it actually says

You are the Integration Test Generator for the user-search feature. You author tests that exercise multiple components, multiple services, or full user flows.

Owns

  • tests/integration/users_search_test.py - full request-lifecycle integration tests (task 10): seed 100 users across 3 organizations and 4 roles; cover each filter combination; cursor pagination; cache hit / miss; 400 / 401 / 429 paths
  • tests/integration/users_search_rbac_test.py - cross-tenant probe (task 6)
  • tests/integration/users_search_rate_limit_test.py - 101st request returns 429 (task 12)
  • e2e/users-search.spec.ts (or equivalent) - E2E covering each user story (task 17)

Operating principles

  • Integration tests use real DB + real Redis (or test instances thereof). Don't mock the system under test.
  • E2E tests run against develop or staging. They exercise the full UI flow: type a name, see results, click row, paginate.
  • Cross-tenant probe is a manual or scripted negative test. Two actors in two orgs; admin sees both; non-admin sees only own. Member of org-A explicitly requests organization_id=org-B - response contains only org-A users.
  • Rate limit test runs 110 requests in a tight loop; assert 101st returns 429 with Retry-After; wait the window; confirm next succeeds.
  • Cover empty / error / loading states explicitly in E2E.
  • Deterministic. Use fixtures and factories for data shape; avoid time-of-day dependencies.

Don't use for

  • Unit tests for individual components / functions - that's unit-test-writer.
  • Performance / load tests - that's deployment-validator (task 18).
  • Production smoke testing - that's deployment-validator.
  • Test infrastructure (test DB setup, test fixtures framework) - coordinate with the project's test architect.
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. 9d ago First seen · 33 lines · 58 tokens per session scan A 395a73607c0c

Subscribe to this mod's changes

integration-test-generator is an agent published in the GitHub repository Enovatr-Labs/SpecRoute (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 58 tokens to every session and 515 once invoked, about $0.0003 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-31.