testcase-coverage

Analyze test cases against requirements to quantify coverage and identify gaps.

63|14|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/liwanlei/AITestCraft --skill testcase-coverage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testcase-coverage
Source: https://github.com/liwanlei/AITestCraft/tree/main/skills/testcase-coverage
Command: npx skills add https://github.com/liwanlei/AITestCraft --skill testcase-coverage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

该 Skill 帮助你把需求与测试用例进行对应分析,量化覆盖率并找出未覆盖的关键场景,从而降低遗漏导致的测试与交付风险。

Core Features & Use Cases

  • 覆盖率量化分析:从主流程、分支、异常、边界、CRUD、状态流转等维度评估测试充分性。
  • 风险等级判定:根据覆盖率与核心流程缺失等规则输出 low/medium/high 风险结论。
  • 缺口场景清单:输出未覆盖场景,便于补齐用例并指导后续测试设计。

Quick Start

将你的需求描述和现有测试用例直接粘贴到输入中,让该 Skill 输出覆盖率、风险等级以及未覆盖的场景列表。

Frequently Asked Questions about testcase-coverage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I quantify test case coverage against system requirements?

Test case coverage is quantified by analyzing test cases against product requirements across main flow, branch, exception, boundary, CRUD, and state transition dimensions to calculate a coverage score and identify gaps.

What is test case coverage analysis and when do I need it?

Test case coverage analysis maps requirements to test cases to evaluate testing thoroughness. You need it during test planning and review workflows to lower the risk of missing critical delivery scenarios.

How do I identify coverage gaps in my test cases?

You identify coverage gaps by inputting your requirement descriptions and existing test cases for analysis, which outputs a Markdown list of uncovered scenarios and missing test cases to guide subsequent test design.

Can I assess test risk level based on missing test scenarios?

Yes, you can assess test risk level by evaluating coverage scores and missing core processes, which classifies the project risk into low, medium, or high categories and outputs the conclusion in Markdown.

Does requirement mapping for test coverage work without specific testing frameworks?

Requirement mapping for test coverage works without specific testing frameworks because it analyzes pasted requirement descriptions and test cases directly to quantify coverage and output risk reports in Markdown.

What is the best way to report test coverage gaps?

The best way to report test coverage gaps is to generate a Markdown-only output containing the coverage score, risk level classification, and a detailed list of uncovered scenarios for immediate test planning.