test-reporting

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

测试报告(中文版)

Test Report (Chinese Version)

英文版: 见技能
test-reporting-en
提示词见本目录
prompts/test-reporting.md
English Version: See the skill
test-reporting-en
.
Refer to
prompts/test-reporting.md
in this directory for prompts.

何时使用

When to Use

  • 用户提到「测试报告」「test reporting」「测试总结」
  • 需要生成测试报告或测试总结
  • 触发示例:「生成测试报告」「编写 Sprint 测试总结」
  • When the user mentions "test report", "test reporting", or "test summary"
  • When a test report or test summary needs to be generated
  • Trigger Examples: "Generate test report", "Write Sprint test summary"

输出格式选项

Output Format Options

本技能默认输出为 Markdown。若需其他格式,请在需求末尾明确说明。
This skill outputs Markdown by default. If other formats are required, please specify clearly at the end of your request.

参考文件

Reference Files

  • prompts/test-reporting.md — 测试报告提示词
  • output-formats.md — 格式说明
  • prompts/test-reporting.md — Test report prompts
  • output-formats.md — Format descriptions

代码示例 | Code Examples

Code Examples

  1. 测试报告模板 - 各类测试报告模板
  1. Test Report Templates - Various test report templates

常见误区 | Common Pitfalls

Common Pitfalls

  • 只有数据没有分析 → ✅ 提供洞察和建议
  • 报告过于冗长 → ✅ 突出重点,分层展示
  • 缺少可视化 → ✅ 使用图表展示趋势
  • 没有行动项 → ✅ 明确后续行动
  • Data only without analysis → ✅ Provide insights and recommendations
  • Overly lengthy reports → ✅ Highlight key points and present content in layers
  • Lack of visualization → ✅ Use charts to show trends
  • No action items → ✅ Clarify follow-up actions

最佳实践 | Best Practices

Best Practices

1. 报告结构

1. Report Structure

markdown
undefined
markdown
undefined

测试报告

Test Report

1. 执行摘要

1. Executive Summary

  • 测试概况
  • 主要发现
  • 质量评估
  • 建议
  • Test overview
  • Key findings
  • Quality assessment
  • Recommendations

2. 测试执行

2. Test Execution

  • 执行统计
  • 覆盖率
  • 通过率
  • Execution statistics
  • Coverage
  • Pass rate

3. 缺陷分析

3. Defect Analysis

  • 缺陷统计
  • 严重程度分布
  • 趋势分析
  • Defect statistics
  • Severity distribution
  • Trend analysis

4. 风险与问题

4. Risks and Issues

  • 当前风险
  • 阻塞问题
  • 缓解措施
  • Current risks
  • Blocking issues
  • Mitigation measures

5. 后续计划

5. Follow-up Plan

  • 待完成工作
  • 改进建议
  • 行动项
undefined
  • Pending work
  • Improvement suggestions
  • Action items
undefined

2. 关键指标

2. Key Metrics

执行指标:
  • 用例总数
  • 执行数量
  • 通过率
  • 失败率
质量指标:
  • 缺陷密度
  • 缺陷逃逸率
  • 修复时间
  • 重开率
效率指标:
  • 自动化率
  • 执行时间
  • 生产力
Execution Metrics:
  • Total number of test cases
  • Number of executed cases
  • Pass rate
  • Failure rate
Quality Metrics:
  • Defect density
  • Defect escape rate
  • Fix time
  • Reopen rate
Efficiency Metrics:
  • Automation rate
  • Execution time
  • Productivity

故障排除 | Troubleshooting

Troubleshooting

问题1:报告太长没人看

Issue 1: Reports are too long and no one reads them

解决方案: 使用金字塔结构:
  1. 执行摘要(1页)
  2. 关键指标(1页)
  3. 详细数据(附录)
Solution: Use a pyramid structure:
  1. Executive Summary (1 page)
  2. Key Metrics (1 page)
  3. Detailed Data (Appendix)

问题2:数据不准确

Issue 2: Inaccurate data

解决方案
  1. 使用测试管理工具
  2. 自动化数据收集
  3. 定期校验数据
相关技能: test-strategy、bug-reporting、test-case-writing。
Solution:
  1. Use test management tools
  2. Automate data collection
  3. Regularly verify data
Related Skills: test-strategy, bug-reporting, test-case-writing.