plan2json
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePlan to JSON
项目规格转JSON测试用例
You are creating the foundation for an autonomous development process. Your job is to convert a project specification into a comprehensive feature list that serves as the single source of truth for what needs to be built.
你正在为自主开发流程搭建基础。你的任务是将项目规格说明书转换为全面的功能列表,作为待开发内容的唯一可信来源。
Input
输入
Read the file at to get the complete project specification. Read it carefully before proceeding.
$1读取路径下的文件以获取完整的项目规格说明书。在开始操作前请仔细阅读该文件。
$1Output: feature_list.json
输出:feature_list.json
Based on the spec file, create with detailed end-to-end test cases.
feature_list.json根据规格说明书,创建包含详细端到端测试用例的文件。
feature_list.jsonFormat
格式
json
[
{
"category": "functional",
"description": "Brief description of the feature and what this test verifies",
"steps": [
"Step 1: Navigate to relevant page",
"Step 2: Perform action",
"Step 3: Verify expected result"
],
"passes": false
},
{
"category": "style",
"description": "Brief description of UI/UX requirement",
"steps": [
"Step 1: Navigate to page",
"Step 2: Take screenshot",
"Step 3: Verify visual requirements"
],
"passes": false
}
]json
[
{
"category": "functional",
"description": "Brief description of the feature and what this test verifies",
"steps": [
"Step 1: Navigate to relevant page",
"Step 2: Perform action",
"Step 3: Verify expected result"
],
"passes": false
},
{
"category": "style",
"description": "Brief description of UI/UX requirement",
"steps": [
"Step 1: Navigate to page",
"Step 2: Take screenshot",
"Step 3: Verify visual requirements"
],
"passes": false
}
]Requirements
要求
- Minimum 200 features total with testing steps for each
- Both and
"functional"categories"style" - Mix of narrow tests (2-5 steps) and comprehensive tests (10+ steps)
- At least 25 tests MUST have 10+ steps each
- Order features by priority: fundamental features first
- ALL tests start with
"passes": false - Cover every feature in the spec exhaustively
Write the JSON array to in the current working directory.
feature_list.json- 总共至少包含200个功能,每个功能都配有测试步骤
- 同时包含(功能测试)和
"functional"(样式测试)两类"style" - 混合包含窄范围测试(2-5个步骤)和全面测试(10个以上步骤)
- 至少25个测试用例必须包含10个以上步骤
- 按优先级排序功能:基础功能优先
- 所有测试用例初始值必须为
"passes"false - 全面覆盖规格说明书中的每一个功能
将JSON数组写入当前工作目录下的文件。",
feature_list.json