首页/ AI 技能 / @skilllib/skill-2014279368749559809
Skill站外收录 @skilllib/skill-2014279368749559809

skill-adapter

自动生成多格式测试报告,整合不同框架的执行结果,计算覆盖率、通过率和耗时等关键指标,支持趋势对比与失败根因分析,便于团队快速掌握质量状况并定位问题。

0.0 (0) 246 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

## Overview This skill empowers Claude to create detailed test reports, providing insights into code coverage, test performance trends, and failure analysis. It supports multiple output formats for easy sharing and analysis. ## How It Works 1. **Aggregating Results**: Collects test results from various test frameworks used in the project. 2. **Calculating Metrics**: Computes coverage metrics, pass rates, test duration, and identifies trends. 3. **Generating Report**: Produces comprehensive reports in HTML, PDF, or JSON format based on the user's preference. ## When to Use This Skill This skill activates when you need to: - Generate a test report after a test run. - Analyze code coverage to identify areas needing more testing. - Identify trends in test performance over time. ## Examples ### Example 1: Generating an HTML Test Report User request: "Generate an HTML test report showing code coverage and failure analysis." The skill will: 1. Aggregate test results from all available frameworks. 2. Calculate code coverage and identify failing tests. 3. Generate an HTML report summarizing the findings. ### Example 2: Comparing Test Results Over Time User request: "Create a report comparing the test results from the last two CI/CD runs." The skill will: 1. Retrieve test results from the two most recent CI/CD runs. 2. Compare key metrics like pass rate and duration. 3. Generate a report highlighting any regressions or improvements. ## Best Practices - **Clarity**: Specify the desired output format (HTML, PDF, JSON) for the report. - **Scope**: Define the scope of the report (e.g., specific test suite, time period). - **Context**: Provide context about the project and testing environment to improve accuracy. ## Integration This skill can integrate with CI/CD pipelines to automatically generate and share test reports after each build. It also works well with other analysis plugins to provide more comprehensive insights.

评论 0

还没有评论,来抢沙发。