test-suite

test-suite is a command for Claude Code from travisjneuman/.claude. It costs 7 tokens per session (1,407 once invoked), scanned A, original, MIT.

A test runner that detects common project languages and test tools, runs tests at a chosen scope, analyzes failures, reports coverage, and suggests missing coverage.

In plain words
What is it for?
Use it to run unit or end-to-end tests and inspect coverage across supported Node.js, Python, Go, Rust, and browser-testing projects.
Why use it?
It removes the need to remember separate test and coverage commands for frameworks such as Jest, Vitest, Pytest, Go, Rust, Cypress, and Playwright.

Command for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to run unit or end-to-end tests and inspect coverage across supported Node.js, Python, Go, Rust, and browser-testing projects.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/travisjneuman/.claude/test-suite
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/travisjneuman/.claude

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-suite

README.md
[![agentmods](https://agentmods.dev/badge/commands/travisjneuman/.claude/test-suite/github.svg)](https://agentmods.dev/commands/travisjneuman/.claude/test-suite)
Your own site
<a href="https://agentmods.dev/commands/travisjneuman/.claude/test-suite"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/test-suite/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-suite

Your own site · 80×15
<a href="https://agentmods.dev/commands/travisjneuman/.claude/test-suite"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/test-suite.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,407 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.00007 $0.01407
Opus 5 $0.00003 $0.00704
Sonnet 5 $0.00001 $0.00281
Haiku 4.5 $0.00001 $0.00141

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

Security

Grade A, and why

test-suite 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 7d 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.

commands/test-suite.md · 222 lines

How it starts

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

Test Suite Runner

Detects the project's test framework, runs tests at the specified scope, analyzes failures, reports coverage, and suggests missing test coverage.


Execution Flow

Step 1: Detect Test Framework

# Check for common test frameworks
[ -f "package.json" ] && grep -qE '"(jest|vitest|mocha|cypress|playwright)"' package.json && echo "NODE_PROJECT"
[ -f "pytest.ini" ] || [ -f "pyproject.toml" ] && grep -q "pytest" pyproject.toml 2>/dev/null && echo "PYTEST"
[ -f "go.mod" ] && echo "GO_TEST"
[ -f "Cargo.toml" ] && echo "CARGO_TEST"

Detected framework determines all subsequent commands.

Framework Test Runner Coverage Tool
Jest npx jest --coverage
Vitest npx vitest run --coverage
Mocha npx mocha npx c8 mocha
Pytest pytest --cov
Go test go test ./... -cover -coverprofile
Cargo test cargo test cargo tarpaulin
Cypress npx cypress run (via istanbul)
Playwright npx playwright test (via istanbul)

Step 2: Run Tests by Scope

Scope: {{scope}} (default: all)

Unit Tests
# Node.js (Jest/Vitest)
npx jest --testPathPattern="(unit|__tests__)" 2>/dev/null || npx vitest run --dir tests/unit 2>/dev/null

# Python
pytest tests/unit/ -v 2>/dev/null || pytest -v -m unit 2>/dev/null

# Go
go test -short ./... -v

# Rust
cargo test --lib
Integration Tests
# Node.js
npx jest --testPathPattern="integration" 2>/dev/null || npx vitest run --dir tests/integration 2>/dev/null

# Python
pytest tests/integration/ -v 2>/dev/null || pytest -v -m integration 2>/dev/null

# Go
go test -run Integration ./... -v

# Rust
cargo test --test '*'

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

Subscribe to this mod's changes

test-suite is a command published in the GitHub repository travisjneuman/.claude (97 stars, last pushed 6d ago), licensed MIT. It adds 7 tokens to every session and 1,407 once invoked, about $0.0000 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-09-03.