Files
2026-04-13 11:34:23 +08:00

58 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: testing-orchestrator
description: "当用户要求测试项分解或测试用例生成且需要完整工具调用链时使用。"
---
# testing-orchestrator
## 目标
严格执行测试生成调用链,并显式传递每一步上下文。
## 标准调用链
1. identify-requirement-type
2. decompose-test-items
3. generate-test-cases
4. build_expected_results
5. format_output
## 编排规则
1. 优先使用 Skill 与 Tool不使用临时硬编码逻辑替代。
2. 除非用户明确要求,否则不得跳过任何步骤。
3. 每一步必须显式接收上一步输出。
4. 分类失败时输出未知类型并继续执行通用分解。
## 输出模板
最终输出必须严格遵循以下分组结构:
**测试项**
**正常测试**
1. [测试项 N1]...
**异常测试**
1. [测试项 E1]...
**测试用例**
**正常测试**
1. [用例 N1](对应测试项 N1...
**异常测试**
1. [用例 E1](对应测试项 E1...
**预期成果**
**正常测试**
1. [预期 N1](对应用例 N1...
**异常测试**
1. [预期 E1](对应用例 E1...
## 调试模式
当 debug=true 时,输出步骤日志并包含:
- step_name
- input_summary
- output_summary
- success
- fallback_used