testcase-generator

Generate executable test cases grouped by module in Markdown tables.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

将测试点清单快速转成结构化、可执行且可验证的测试用例,避免用例过于抽象、步骤缺失或断言不可观察的问题,从而加速测试落地与提效。

Core Features & Use Cases

  • 按模块分组生成:支持输入包含多个模块的测试点,并按模块输出独立用例表格,便于团队管理与评审。
  • 保障可执行与可验证:为每个测试点至少生成1个用例,且强制包含明确steps、清晰前置条件与可观察断言,P0用例提供更严格的覆盖(正常流程+异常/边界)。
  • 面向可复现数据:要求使用真实结构化数据且禁止占位符,降低复现与自动化落地的成本。

Quick Start

使用 testcase-generator 将你现有的“按模块分组的测试点列表”输入到该技能,直接输出按模块分表的可执行测试用例(Markdown表格格式)。

Frequently Asked Questions about testcase-generator

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

FAQPage Schema
How do I generate executable test cases from a list of test points?

To generate executable test cases from test points, input a grouped list of test points across multiple modules. The system outputs structured Markdown tables with detailed steps, preconditions, and observable assertions for each module.

What is the best way to ensure test case assertions are observable and not abstract?

To ensure test case assertions are observable, the generation process enforces strict constraints that prohibit abstract validation. It requires explicit assertions with a minimum count, guaranteeing every test case includes concrete, verifiable expected results.

How to structure test cases by module for team review and management?

Structuring test cases by module requires processing a grouped test point list as input. The generator outputs independent Markdown tables for each module, facilitating organized team review and management of the prioritized test cases.

Does the test case generator support P0 prioritization with exception and boundary flows?

The test case generator supports P0 prioritization logic by creating comprehensive coverage for normal flows alongside exception and boundary scenarios. This ensures critical paths receive rigorous validation within the generated Markdown tables.

Can I use placeholder data when generating structured test cases for automation?

You cannot use placeholder data when generating structured test cases. The system mandates the use of real structured data to lower reproduction costs and ensure the output test cases are immediately ready for automation execution.