/testing-plugin:test-run [test-pattern] [--coverage] [--watch]from testing-plugin
Run the project's tests — auto-detects pytest, vitest, jest, cargo, go test; whole suite or a name pattern. Use when asked to run the tests and no tier, single file, or fix cycle is named.
Ships in testing-plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
| Use this skill when... | Use test-quick instead when... |
|---|---|
| Running tests with auto-detected framework (pytest, vitest, jest, cargo, go) | You only want fast unit tests for sub-30s feedback |
| Running a specific file or pattern with full framework defaults | Iterating on a single failing spec (use test-focus) |
| Generating coverage in the standard run | Running the full pyramid before a PR (use test-full) |
| Starting a watch-mode dev loop across the project | Triaging existing test results (use test-analyze) |
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \)find . -maxdepth 1 -type d \( -name 'tests' -o -name 'test' -o -name '__tests__' -o -name 'spec' \)find . -maxdepth 1 -name 'package.json' -exec grep -A2 '"test"' {} +find . -maxdepth 1 -name 'pyproject.toml' -exec grep -A5 '\[tool.pytest' {} +$1: Optional test pattern or specific test file/directory--coverage: Enable coverage reporting--watch: Run tests in watch modeDelegate this task to the test-runner agent.
Use the Agent tool with subagent_type: testing-plugin:test-runner to run tests with the appropriate framework. Pass all the context gathered in Context and the parsed parameters to the agent.
The test-runner agent should:
Detect project type and test framework:
Run appropriate test command:
Analyze results:
Provide concise summary:
Tests: [PASS|FAIL]
Passed: X | Failed: Y | Duration: Zs
Failures (if any):
- test_name: Brief error (file:line)
Coverage: XX% (if requested)
Suggest next actions:
Provide the agent with:
The agent has expertise in:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
test-runner, auto-detect, multi-framework, coverage, watch-mode
npx claudepluginhub laurigates/claude-plugins --plugin testing-plugin20 skills in this plugin
/benchmark-controlsBenchmark control hazards: mutated controls, disagreeing harnesses, VM lock scaling, hyperfine 2.0 exports. Use when benchmarking, comparing timings, A/B runs, hyperfine./measurement-controlsCheck a benchmark, A/B or eval metric measures what it claims: control arms, oracles that can fail, pooled correlations, small x/N. Use when setting up an experiment or a metric says improved./mutation-testingMutation testing with Stryker (TS/JS) and mutmut (Python). Use when finding weak tests that pass on mutated code, or improving test quality through mutation analysis./odiff-image-diffingodiff pixel-by-pixel image diffing. Use when comparing screenshots, detecting visual regressions, diffing before/after PNGs, asserting golden images./playwright-cliPlaywright CLI browser automation — navigate, screenshot, fill forms, click. Use when automating browser tasks from the shell; 4-10x more token-efficient than Playwright MCP./playwright-testingPlaywright E2E testing — cross-browser, visual regression, API testing, mobile emulation. Use when writing E2E tests or setting up automated UI testing for web apps.Other plugins' skills for the same job