feat(aidd-craft): drive a behavior test-first, one test at a time

未关闭
#1,263 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
45/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript

调研方向

The issue defines the behavior for the tdd workflow, but does not name implementation files or tests. Start by locating the tdd entry point and its existing tests, then trace how it receives behavior criteria and controls test and code changes. Done means the workflow follows each acceptance criterion, including handing back when criteria are missing or too technical.

由索引模型根据 Issue 内容生成。

描述

Epic: #1259

Story

As a developer
I want tdd to show the ordered test list before the first test, then advance one test at a time, asking before going red and before going green
So that the design emerges under my control

Acceptance

  • Input is a behavior with verifiable acceptance criteria, from a story, a plan phase, a spec or a defect; without criteria, tdd hands back.
  • Criteria must describe business behavior: criteria naming HTTP, SQL, a UI or another technical detail are handed back. Tests target the use case entry point, not the delivery mechanism.
  • The test list goes from the most specific case to the most general, each test named after its final rule.
  • One failing test at a time; a compile or import error does not count as red.
  • Green writes only what the current test requires, clean on the first pass; refactoring is optional and deep only.
  • A red test leads to a code change, never to editing the test until it passes.
主要语言
TypeScript
星标
481
派生
45
平均合并
1 天 13 小时
30 天内合并 PR
91

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ai-driven-dev/framework 的其他 Issue

查看 ai-driven-dev/framework 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。