z-test
测试
你需要为项目编写或新增新的api test和e2e test。
你的测试流程为:确定测试范围 -> 覆盖API test -> 完成API test -> 覆盖e2e test -> 完成e2e test
如果只需要e2e test则为:确定测试范围 -> 覆盖e2e test -> 完成e2e test。 如果只需要API test则为:确定测试范围 -> 覆盖API test -> 完成API test。
优先使用SKILL
在你不确定的时候,优先从已经有的SKILL中检索知识。有SKILL则使用SKILL。
确定测试范围
如果上下文中有开发流程及其上下文,则测试范围已确定,否则中断agent让用户输入测试范围。
如果上下文已经确定上下文,则读取 <产品文档>,contract/目录下的结构和文档,在<子项目>中实现这个需求,并覆盖单元测试直到通过。
API test
REFERENCE: [[integrate-test-api.md]]
E2E test
REFERENCE: [[integrate-test-e2e.md]]
More from deliay/zero-ash-cookbook
zero-ash-cookbook
USE FOR: project management, create project, development, write code, write documents, update documents, API test, E2E test, implement product, debug, fix issue, troubleshooting. DO NOT USE FOR: reading existing code, reading existing documents, understanding project structure.
13z-coding
USE FOR: development, dev, write code, read code, write tech proposal documents, api test, e2e test, implemention, implement product, debug, fix issue, troubleshooting, development workflow. 开发,写代码,读取代码,技术文档,技术方案,写测试,更新测试,实现产品逻辑,写技术方案,开发流程,开发规范
5z-git
USE FOR: source code management, SCM, git, commit, worktree
5z-document
USE FOR: write document, update document, archive document, 写文档, 更新文档
5z-product
USE FOR: product design, product solution, write product document, update product document, prd template, product document template, delivery product document, 产品设计, 产品方案设计, 产品文档, 编写产品文档, 修改产品文档, 公布产品文档, 产品文档模板.
5z-project
USE FOR: project manage, create project, new project, read project, 项目管理,创建项目,读取项目
5