Skip to main content

test-report

Cached results from the last test run, no re-run — pass/fail counts, existing coverage report, history, flaky tests. Use when asked for current test status or standup health.

来源信息

仓库
laurigates/claude-plugins
最近来源活动
2026年9月5日 18:04
检测到的 SKILL.md 语言
英语
星标
60
分支
6

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
created
2025-12-16T00:00:00.000Z
modified
2026-09-05T00:00:00.000Z
reviewed
2026-04-25T00:00:00.000Z
allowed-tools
Read, Glob, Bash(git *)
args
[--history] [--coverage] [--flaky]
argument-hint
[--history] [--coverage] [--flaky]
description
Cached results from the last test run, no re-run — pass/fail counts, existing coverage report, history, flaky tests. Use when asked for current test status or standup health.
name
test-report
## When to Use This Skill | Use this skill when... | Use test-run instead when... | |---|---| | Reading cached results without re-running tests | Actually executing the test suite | | Showing standup-ready test status from the last run | Triaging structured test output (use test-analyze) | | Spotting flaky tests via `--flaky` from recent runs | Picking which tier to run next (use test-tier-selection) | | Pulling a coverage summary from existing reports | Asking 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 | Framework | Cache Location | |-----------|----------------| | pytest | `.pytest_cache/`, `htmlcov/` | | Vitest | `node_modules/.vitest/` | | Jest | `coverage/`, `.jest-cache/` | | Playwright | `test-results/`, `playwright-report/` | | Go | `coverage.out` | | Cargo | `target/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`
在 GitHub 查看