Test Report Generator

v1.0.0

Generate test summary reports, quality metrics, and test execution analysis. Aggregate test results into structured reports with pass/fail rates, coverage, t...

0· 75·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhanghengyi1986-afk/test-report.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Test Report Generator" (zhanghengyi1986-afk/test-report) from ClawHub.
Skill page: https://clawhub.ai/zhanghengyi1986-afk/test-report
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install test-report

ClawHub CLI

Package manager switcher

npx clawhub@latest install test-report
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/description match the SKILL.md templates and metrics. The skill requests no binaries, credentials, or installs — which is proportional for a template/report generator.
Instruction Scope
SKILL.md contains report templates, metric formulas, and guidance for producing summaries. It does not instruct the agent to read arbitrary system files, access external endpoints, or exfiltrate data; it expects test data to be provided as input.
Install Mechanism
No install spec and no code files are present — lowest-risk instruction-only skill. Nothing will be written to disk or downloaded by the skill itself.
Credentials
No environment variables, credentials, or config paths are requested. The lack of secrets/credentials aligns with the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable (normal defaults). The skill does not request persistent presence or modify other skills/config; autonomous invocation is permitted by platform default but the skill itself has no extra privileges.
Assessment
This skill is instruction-only and appears coherent for generating test reports and metrics. It's low-risk to install, but be cautious about the test data you feed it: avoid pasting secrets, API keys, or production PII into report inputs. If you need automated aggregation of test results from CI systems, prefer a skill or connector that explicitly declares the required CI credentials rather than pasting them into templates.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📊 Clawdis
latestvk971q20kpzwad0s9x9npk1mpwx84xzmw
75downloads
0stars
1versions
Updated 1w ago
v1.0.0
MIT-0

Test Report Generator

Generate professional test summary and quality reports.

When to Use

USE this skill when:

  • Summarizing a round of testing results
  • Generating quality metrics and dashboards
  • Preparing test completion / sign-off reports
  • Analyzing defect trends and distribution
  • "出个测试报告" / "这轮测试总结一下"

DON'T use this skill when:

  • Running tests → use api-tester or web-tester
  • Writing test cases → use test-case-gen
  • Analyzing specific bugs → use bug-hunter

Report Template

Test Execution Summary Report

# 📋 测试报告

**项目**: {project_name}
**版本**: {version}
**测试周期**: YYYY-MM-DD ~ YYYY-MM-DD
**测试负责人**: 虫探 🔍
**报告日期**: YYYY-MM-DD

---

## 1. 概述

本轮测试针对 {version} 版本,覆盖 {module_list} 等核心模块,
共执行 {total} 条用例,通过率 {pass_rate}%。

### 质量结论: ✅ 建议发布 / ⚠️ 有风险 / 🔴 不建议发布

---

## 2. 测试执行统计

| 指标 | 数值 |
|------|------|
| 总用例数 | {total} |
| 已执行 | {executed} |
| 通过 | {passed} ✅ |
| 失败 | {failed} ❌ |
| 阻塞 | {blocked} 🚫 |
| 跳过 | {skipped} ⏭️ |
| 通过率 | {pass_rate}% |
| 执行率 | {exec_rate}% |

### 按模块统计

| 模块 | 总数 | 通过 | 失败 | 通过率 |
|------|------|------|------|--------|
| 登录模块 | 15 | 14 | 1 | 93.3% |
| 用户管理 | 20 | 18 | 2 | 90.0% |
| 订单模块 | 30 | 25 | 5 | 83.3% |

### 按优先级统计

| 优先级 | 总数 | 通过 | 失败 | 通过率 |
|--------|------|------|------|--------|
| P0-核心 | 20 | 20 | 0 | 100% ✅ |
| P1-重要 | 25 | 23 | 2 | 92% |
| P2-一般 | 15 | 12 | 3 | 80% |
| P3-低优 | 5 | 2 | 3 | 40% |

---

## 3. 缺陷统计

| 指标 | 数值 |
|------|------|
| 本轮新增缺陷 | {new_bugs} |
| 已修复 | {fixed} |
| 待修复 | {open} |
| 遗留 | {deferred} |

### 缺陷严重程度分布

| 严重程度 | 数量 | 状态 |
|----------|------|------|
| 🔴 Critical | 0 | - |
| 🟠 Major | 3 | 2 fixed, 1 open |
| 🟡 Minor | 5 | 3 fixed, 2 deferred |
| 🟢 Trivial | 2 | 1 fixed, 1 deferred |

### 缺陷模块分布

| 模块 | 缺陷数 | 缺陷密度 |
|------|--------|----------|
| 订单模块 | 5 | 0.17/用例 |
| 用户管理 | 3 | 0.15/用例 |
| 登录模块 | 2 | 0.13/用例 |

---

## 4. 风险评估

| 风险项 | 影响 | 概率 | 建议 |
|--------|------|------|------|
| {risk_1} | 高/中/低 | 高/中/低 | {mitigation} |

---

## 5. 遗留问题

| ID | 标题 | 严重程度 | 状态 | 备注 |
|----|------|----------|------|------|
| BUG-xxx | {title} | Major | Deferred | {reason} |

---

## 6. 建议

- {recommendation_1}
- {recommendation_2}

Quality Metrics

Key Metrics to Calculate

Pass Rate        = (Passed / Executed) × 100%
Execution Rate   = (Executed / Total) × 100%
Defect Density   = New Bugs / Total Cases
Defect Removal   = Fixed / (Fixed + Open) × 100%
Test Efficiency  = Bugs Found / Test Hours
Reopen Rate      = Reopened / Total Fixed × 100%

Quality Gates

Metric🟢 Good🟡 Warning🔴 Block
P0 Pass Rate100%< 100%N/A (must be 100%)
Overall Pass Rate≥ 95%90-95%< 90%
Critical Bugs Open01-2 (with workaround)> 2
Execution Rate≥ 95%85-95%< 85%

Release Decision

Based on metrics, recommend:

  • ✅ Go: All P0 pass, overall ≥ 95%, 0 critical bugs open
  • ⚠️ Conditional Go: Overall ≥ 90%, ≤ 2 major bugs with workaround
  • 🔴 No Go: P0 failures, or overall < 90%, or critical bugs open

Trend Analysis Template

When tracking quality across multiple iterations:

## 质量趋势(最近 5 轮迭代)

| 迭代 | 用例数 | 通过率 | 新增缺陷 | 遗留缺陷 | 质量评级 |
|------|--------|--------|----------|----------|----------|
| v1.1 | 120 | 92% | 15 | 3 | ⚠️ |
| v1.2 | 135 | 95% | 10 | 2 | ✅ |
| v1.3 | 150 | 93% | 12 | 4 | ⚠️ |
| v1.4 | 160 | 97% | 6 | 1 | ✅ |
| v1.5 | 170 | 98% | 4 | 0 | ✅ |

趋势分析:
- 用例数稳步增长(+42%),测试覆盖在扩大
- 通过率整体上升,v1.3 有回落(原因:新增支付模块)
- 新增缺陷持续下降,代码质量在改善
- 遗留缺陷归零,技术债务控制良好

Defect Root Cause Distribution

缺陷根因分布有助于改进上游环节:

### 缺陷根因分布

| 根因分类 | 数量 | 占比 | 改进建议 |
|----------|------|------|----------|
| 需求遗漏/歧义 | 8 | 32% | 加强需求评审,增加测试用例评审环节 |
| 编码逻辑错误 | 7 | 28% | 加强 Code Review,增加单元测试 |
| 接口约定不一致 | 5 | 20% | 统一接口文档,引入契约测试 |
| 环境/配置问题 | 3 | 12% | 环境标准化,配置纳入版本管理 |
| 第三方依赖 | 2 | 8% | 增加 Mock 测试,监控依赖变更 |

Comments

Loading comments...