gsd-add-tests
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<objective>
Generate unit and E2E tests for a completed phase, using its SUMMARY.md, CONTEXT.md, and VERIFICATION.md as specifications.
Analyzes implementation files, classifies them into TDD (unit), E2E (browser), or Skip categories, presents a test plan for user approval, then generates tests following RED-GREEN conventions.
Output: Test files committed with message
</objective>
test(phase-{N}): add unit and E2E tests from add-tests command<execution_context>
@~/.claude/gsd-core/workflows/add-tests.md
</execution_context>
<context>
Phase: $ARGUMENTS
@.planning/STATE.md
@.planning/ROADMAP.md
</context>
<process>
Execute end-to-end.
Preserve all workflow gates (classification approval, test plan approval, RED-GREEN verification, gap reporting).
</process><objective>
根据SUMMARY.md、CONTEXT.md和VERIFICATION.md作为规范,为已完成的阶段生成单元测试和E2E测试。
分析实现文件,将其归类为TDD(单元)、E2E(浏览器)或跳过类别,提交测试计划供用户审批,随后遵循RED-GREEN规范生成测试用例。
输出:测试文件提交时附带提交信息
</objective>
test(phase-{N}): add unit and E2E tests from add-tests command<execution_context>
@~/.claude/gsd-core/workflows/add-tests.md
</execution_context>
<context>
阶段:$ARGUMENTS
@.planning/STATE.md
@.planning/ROADMAP.md
</context>
<process>
端到端执行。
保留所有工作流关卡(分类审批、测试计划审批、RED-GREEN验证、差距报告)。
</process>