完善skills;测试用例生成页面功能初步实现
This commit is contained in:
13
.github/skills/testing-orchestrator/SKILL.md
vendored
13
.github/skills/testing-orchestrator/SKILL.md
vendored
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: testing-orchestrator
|
||||
description: "当用户要求测试项分解或测试用例生成且需要完整工具调用链时使用。"
|
||||
description: "当需要从需求文本一键生成测试项、测试用例与预期成果时使用,按 identify→decompose→generate→build→format 全链路编排并透传上下文。"
|
||||
---
|
||||
|
||||
# testing-orchestrator
|
||||
@@ -31,15 +31,13 @@ description: "当用户要求测试项分解或测试用例生成且需要完整
|
||||
- requirement_type
|
||||
- reason
|
||||
- candidates
|
||||
- recommended_test_methods
|
||||
- suggested_decompose_template
|
||||
- recommended_test_methods(格式:`Mxx|方法名`)
|
||||
|
||||
### Step 2: decompose-test-items
|
||||
- 输入:
|
||||
- user_requirement_text
|
||||
- requirement_type(来自 Step 1)
|
||||
- recommended_test_methods(来自 Step 1)
|
||||
- suggested_decompose_template(来自 Step 1)
|
||||
- 输出:
|
||||
- normal_test_items
|
||||
- abnormal_test_items
|
||||
@@ -56,6 +54,13 @@ description: "当用户要求测试项分解或测试用例生成且需要完整
|
||||
- abnormal_test_cases
|
||||
- method_alignment_report
|
||||
|
||||
#### Step 3 路由规则(按需调用)
|
||||
1. 从 `recommended_test_methods` 提取 Method ID(`Mxx`)。
|
||||
2. 若命中 `M01-M12`,调用 `generate-test-cases-blackbox`。
|
||||
3. 若命中 `M13-M18`,调用 `generate-test-cases-whitebox`。
|
||||
4. 同一测试项命中黑盒+白盒时,并行生成后去重合并。
|
||||
5. 合并后统一输出 `case_id` 与 `method_alignment_report`,并记录未落地方法到 `gaps`。
|
||||
|
||||
### Step 4: build-expected-results
|
||||
- 输入:
|
||||
- normal_test_cases(来自 Step 3)
|
||||
|
||||
Reference in New Issue
Block a user