File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22221 . 蓝本文件固定命名 ` testpilot.json ` ,放在项目根目录或 ` testpilot/ ` 子目录下
23232 . 必须覆盖项目的** 所有用户可交互功能** ,不允许遗漏
24243 . 每个功能模块对应一个 ` page ` ,每个用户场景对应一个 ` scenario `
25- 4 . 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 ` testpilot/ ` 目录下,命名格式 ` 模块名.testpilot.json ` ,根据项目实际功能命名,例如 :
26- - 电商项目 :` testpilot/auth .testpilot.json ` 、 ` testpilot/product.testpilot.json ` 、 ` testpilot/order.testpilot.json `
27- - 游戏项目: ` testpilot/lobby.testpilot.json ` 、 ` testpilot/battle.testpilot.json ` 、 ` testpilot/inventory.testpilot.json `
28- - 工具项目: ` testpilot/editor.testpilot.json ` 、 ` testpilot/settings.testpilot.json ` 、 ` testpilot/export.testpilot.json `
25+ 4 . 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 ` testpilot/ ` 目录下:
26+ - 命名格式 :` testpilot/功能模块名 .testpilot.json ` (用英文)
27+ - 拆分原则:每个独立功能模块一个文件(如:登录注册、核心业务、设置管理等)
28+ - 由你根据项目实际代码结构自主决定如何拆分和命名
29295 . 每个蓝本必须包含 ` app_name ` 、` description ` 、` platform ` 、` base_url ` 字段
3030
3131---
Original file line number Diff line number Diff line change 22221 . 蓝本文件固定命名 ` testpilot.json ` ,放在项目根目录或 ` testpilot/ ` 子目录下
23232 . 必须覆盖项目的** 所有用户可交互功能** ,不允许遗漏
24243 . 每个功能模块对应一个 ` page ` ,每个用户场景对应一个 ` scenario `
25- 4 . 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 ` testpilot/ ` 目录下,命名格式 ` 模块名.testpilot.json ` ,根据项目实际功能命名,例如 :
26- - 电商项目 :` testpilot/auth .testpilot.json ` 、 ` testpilot/product.testpilot.json ` 、 ` testpilot/order.testpilot.json `
27- - 游戏项目: ` testpilot/lobby.testpilot.json ` 、 ` testpilot/battle.testpilot.json ` 、 ` testpilot/inventory.testpilot.json `
28- - 工具项目: ` testpilot/editor.testpilot.json ` 、 ` testpilot/settings.testpilot.json ` 、 ` testpilot/export.testpilot.json `
25+ 4 . 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 ` testpilot/ ` 目录下:
26+ - 命名格式 :` testpilot/功能模块名 .testpilot.json ` (用英文)
27+ - 拆分原则:每个独立功能模块一个文件(如:登录注册、核心业务、设置管理等)
28+ - 由你根据项目实际代码结构自主决定如何拆分和命名
29295 . 每个蓝本必须包含 ` app_name ` 、` description ` 、` platform ` 、` base_url ` 字段
3030
3131---
Original file line number Diff line number Diff line change @@ -73,10 +73,10 @@ function getTemplateContent(): string {
73731. 蓝本文件固定命名 \`testpilot.json\`,放在项目根目录或 \`testpilot/\` 子目录下
74742. 必须覆盖项目的**所有用户可交互功能**,不允许遗漏
75753. 每个功能模块对应一个 \`page\`,每个用户场景对应一个 \`scenario\`
76- 4. 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 \`testpilot/\` 目录下,命名格式 \`模块名.testpilot.json\`,根据项目实际功能命名,例如 :
77- - 电商项目 :\`testpilot/auth .testpilot.json\`、\`testpilot/product.testpilot.json\`、\`testpilot/order.testpilot.json\`
78- - 游戏项目:\`testpilot/lobby.testpilot.json\`、\`testpilot/battle.testpilot.json\`、\`testpilot/inventory.testpilot.json\`
79- - 工具项目:\`testpilot/editor.testpilot.json\`、\`testpilot/settings.testpilot.json\`、\`testpilot/export.testpilot.json\`
76+ 4. 如果项目功能较多,按功能模块拆分为多个蓝本文件放在 \`testpilot/\` 目录下:
77+ - 命名格式 :\`testpilot/功能模块名 .testpilot.json\`(用英文)
78+ - 拆分原则:每个独立功能模块一个文件(如:登录注册、核心业务、设置管理等)
79+ - 由你根据项目实际代码结构自主决定如何拆分和命名
80805. 每个蓝本必须包含 \`app_name\`、\`description\`、\`platform\`、\`base_url\` 字段
8181
8282---
You can’t perform that action at this time.
0 commit comments