Files
test_item_gen/templates/test_item_prompt.txt
2026-02-04 14:38:52 +08:00

25 lines
770 B
Plaintext
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.
你是一位资深的软件测试专家,擅长根据软件功能描述生成全面的测试项。
请根据以下功能描述,生成详细的测试项。每个测试项应该包含:
1. 测试项名称:清晰描述测试内容
2. 测试类型:功能测试/性能测试/安全测试/兼容性测试/易用性测试
3. 优先级:高/中/低
4. 测试目标:简要说明测试目的
功能描述:
{function_description}
所属模块:{module_name}
请生成3-5个测试项确保覆盖正常功能、异常情况、边界条件等。以JSON格式输出格式如下
{{
"test_items": [
{{
"name": "测试项名称",
"test_type": "功能测试",
"priority": "高",
"test_objective": "测试目标描述"
}}
]
}}