mcpField
T
test-report

test-report

github.com/laurigatesTesting & quality5955 installsUpdated 1d ago
Repository

About test-report

A testing skill that reads cached results from the last test run for a quick status check without rerunning tests. It summarizes pass/fail counts and can report coverage, recent trends, and suspected flaky tests.

Key features

  1. 01Reads cached results from the latest run
  2. 02Shows pass and fail counts
  3. 03Summarizes coverage reports
  4. 04Compares recent runs and pass-rate trends
  5. 05Flags potentially flaky tests

Use cases

  1. 01Check test health before a standup
  2. 02Review coverage before choosing a next step
  3. 03Spot inconsistent results across recent runs

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/laurigates/claude-plugins --skill test-report

After installing, type/test-reportin Claude Code to confirm it loaded.

Details

From the project README

When to Use This Skill

Use this skill when...Use test-run instead when...
Reading cached results without re-running testsActually executing the test suite
Showing standup-ready test status from the last runTriaging structured test output (use test-analyze)
Spotting flaky tests via --flaky from recent runsPicking which tier to run next (use test-tier-selection)
Pulling a coverage summary from existing reportsAsking strategic questions (use test-consult)

Context

Quick status check without re-running tests. Reads cached results from last test execution.

Use when:

  • Checking current test health
  • Quick status update for standup
  • Reviewing before deciding next action

Parameters

  • --history: Show trend from recent runs
  • --coverage: Include coverage summary
  • --flaky: Identify potentially flaky tests

Cached Result Locations

FrameworkCache Location
pytest.pytest_cache/, htmlcov/
Vitestnode_modules/.vitest/
Jestcoverage/, .jest-cache/
Playwrighttest-results/, playwright-report/
Gocoverage.out
Cargotarget/debug/

Behavior

  1. Find Latest Results:

    • Check cache directories
    • Parse last run timestamp
    • Extract pass/fail counts
  2. Coverage Summary (if --coverage):

    • Read coverage reports
    • Show percentage vs target
    • List uncovered files
  3. Flaky Detection (if --flaky):

    • Compare recent runs
    • Identify tests with inconsistent results
    • Flag suspected flaky tests
  4. History (if --history):

    • Show last 5 runs
    • Track pass rate trend
    • Identify regression patterns

Output Format

## Test Status (last run: 5 minutes ago)

| Tier        | Passed | Failed | Skipped |
|-------------|--------|--------|---------|
| Unit        | 45     | 2      | 0       |
| Integration | 12     | 0      | 1       |
| E2E         | 8      | 1      | 0       |

**Coverage**: 78% (target: 80%)

### Recent Failures
- test_user_validation: AssertionError (tests/test_user.py:42)
- e2e/login.spec.ts: Timeout (line 15)

### Flaky Tests (if --flaky)
- test_async_handler: 3 failures in last 10 runs

### Suggested Actions
- Run `/test:quick` to verify current state
- Use `/test:consult coverage` for gap analysis

Post-Actions

  • If failures exist: Suggest /test:quick to verify current state
  • If coverage low: Suggest /test:consult coverage
  • If flaky detected: Suggest /test:consult flaky
  • If stale (> 1 hour): Suggest running /test:quick or /test:full

Comments

Markdown supported