mcpField
S
spec-test-suites

spec-test-suites

github.com/zixun-githubTesting & quality85 installs
Repository

About spec-test-suites

spec-test-suites is a skill for organizing numbered use cases from `usecase.md` into smoke, regression, and targeted test suites. It defines execution order, dependencies, and blocking criteria, and requires project context and source documents before generating the suite.

Key features

  1. 01Organizes suites by test purpose
  2. 02Links entries to specific TC-* cases
  3. 03Defines execution order and dependencies
  4. 04Aligns smoke blocking rules with test plan
  5. 05Requires project context and source files

Use cases

  1. 01Prepare suites from existing use cases
  2. 02Plan targeted regression from change impacts
  3. 03Specify delivery blocking criteria

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/zixun-github/aisdlc --skill spec-test-suites

After installing, type/spec-test-suitesin Claude Code to confirm it loaded.

Bundled filesassets/suites_template.md

Details

From the project README

Spec 测试套件(V3:Suites)

把 usecase.md 里的用例编号组织成可执行集合(smoke / regression / targeted),并明确 执行顺序、依赖与阻断口径。


输入与门禁(必须遵守)

REQUIRED SUB-SKILL:正在执行 spec-context 获取上下文,并在对话中回显 FEATURE_DIR=...(允许 (reuse))。

  • 必读项目级 memory:project/memory/product.md、project/memory/tech.md、project/memory/glossary.md;读不到必须写 CONTEXT GAP。
  • 输入依赖:{FEATURE_DIR}/verification/usecase.md 与 {FEATURE_DIR}/verification/test-plan.md 应已存在;缺失时必须写 CONTEXT GAP 并停止(避免凭空编排)。
  • 套件必须可定位:套件条目必须指向具体用例编号(禁止“覆盖登录流程”这类模糊描述)。

输出(落盘)

  • {FEATURE_DIR}/verification/suites.md

强制模板(必须遵守)

  • suites.md 必须按模板生成(不得自创结构/字段名):
    • assets/suites_template.md

内容要求(最小结构)

suites.md 至少包含:

  • Smoke(冒烟)
    • 阻断规则(与 test-plan.md 的准出标准一致)
    • 用例清单:TC-*
  • Regression(回归)
    • 用例清单:TC-*(可分组)
  • Targeted(定向回归,如适用)
    • 触发条件(impact-analysis / 风险清单 / 变更说明)
    • 用例清单:TC-*
  • 执行顺序与依赖(例如 smoke → targeted → regression)

DoD 自检(V3-DoD)

  • 套件中的每条目都能定位到具体 TC-* 编号
  • smoke 套件有明确“失败即阻断交付”的口径,且与 test-plan.md 一致
  • targeted 套件能追溯到影响面/风险来源(如有 requirements/solution.md#impact-analysis)

Comments

Markdown supported