[KongchangAI]
Concept测试驱动开发 / Test-Driven Development

TDD

Test-Driven Development (TDD) is a software development methodology whose core cycle consists of writing a failing unit test first, then writing the minimal implementation code to make the test pass, and finally refactoring. The method uses short iterative loops as its basic unit, emphasizes writing tests before code, and aims to improve code quality, maintainability, and design soundness. It is widely applied in agile software development practices.

Core Facts

Timeline (last 90 days)

Oct 25

TDD moves acceptance criteria forward, which can reduce cases of "looks fine but actually has defects" and lets regression issues surface early.

Unverified50%
Oct 21

The implement spec skill packages together the TDD skill, the code review skill, and multi-worktree parallelism: it first organizes tickets and identifies tickets with no dependencies, then launches multiple AI agents simultaneously to work in parallel.

Unverified50%
Oct 21

The difference between PStack's Create Verification Skill in the testing phase and TDD is that TDD focuses on functional tests and unit tests, whereas this skill focuses on building an end-to-end verification environment.

Unverified50%
Oct 21

Pstack's build phase includes a workflow that follows TDD to write code, as well as a best-practice skill that forces the AI to write code according to TypeScript conventions.

Unverified50%
Oct 19

Matt Pocock strongly recommends test-driven development (TDD) for AI agents; writing the failing test first makes it hard for AI to generate weak tests that merely confirm its own existing implementation.

Unverified50%
Oct 18

The executing party uses the Superpowers plugin (version 6.3.0), both AIs have the same version installed, and the most frequently requested skills include writing requirement specifications, executing according to plan, red before green (TDD), and verification before completion.

Unverified50%
Oct 17

The core of Pstack's build phase is test-driven development (TDD), and it includes built-in TypeScript best-practice skills.

Unverified50%
Oct 17

The method behind the proof gate is test-first, originating from TDD's red-green-refactor cycle, and is used to verify that the failure of a new test proves it actually covers the behavior to be fixed rather than being a test that always passes vacuously.

Unverified50%
Oct 15

Implement Spec dispatches a SubAgent responsible for implementation to handle each Ticket in a TDD manner.

Unverified50%
Oct 11

The workflow combining TDD with AI Agent is: first write test cases, have the Agent generate implementation code that passes the tests, and after the Agent executes the tests it automatically iterates and revises based on failure information until all tests pass.

Unverified50%

7 more timeline events

All Facts (20)

Verified

Test-Driven Development (TDD) was proposed by Kent Beck in 1999, with a core workflow of red-green-refactor.

80%
Verified

The core TDD cycle is: first write a failing test case (Red) → write the minimum amount of code to make the test pass (Green) → refactor the code (Refactor).

80%
Verified

SDD(Specification-Driven Development,规范驱动开发)是当前AI编程领域被普遍认可的一种开发思想,核心理念是基于规范驱动进行编程

80%
Verified

Test-Driven Development (TDD) was systematically proposed by Kent Beck within the Extreme Programming (XP) methodology.

80%
Verified

A TDD test-driven approach can be adopted, having the AI write tests first and then write the implementation to pass those tests.

65%
Unverified

Superpowers的TDD流程要求AI先编写失败的测试用例,再编写刚好能让测试通过的最小实现代码

95%
Unverified

Superpowers引入了TDD(测试驱动开发)和YAGNI(You Aren't Gonna Need It)两大软件工程原则

95%
Unverified

TDD(Test-Driven Development)由Kent Beck在2003年正式提出

90%
Unverified

验证合约的设计借鉴了测试驱动开发(TDD)和契约式设计(Design by Contract)两大工程传统

90%
Unverified

Harness Engineering通过强约束沙盒和严苛TDD模式来解决智能体漂移问题

80%
Unverified

测试驱动开发(TDD)在AI编程时代变得更加重要,因为它提供了不依赖对AI信任的客观验证机制

75%
Unverified

The rule in CLAUDE.md to 'first write a test that reproduces the problem, then make it pass' is essentially a migration of Test-Driven Development (TDD) philosophy into the AI collaboration context.

60%
Unverified

TDD moves acceptance criteria forward, which can reduce cases of "looks fine but actually has defects" and lets regression issues surface early.

50%
Unverified

The implement spec skill packages together the TDD skill, the code review skill, and multi-worktree parallelism: it first organizes tickets and identifies tickets with no dependencies, then launches multiple AI agents simultaneously to work in parallel.

50%
Unverified

The difference between PStack's Create Verification Skill in the testing phase and TDD is that TDD focuses on functional tests and unit tests, whereas this skill focuses on building an end-to-end verification environment.

50%
Unverified

Pstack's build phase includes a workflow that follows TDD to write code, as well as a best-practice skill that forces the AI to write code according to TypeScript conventions.

50%
Unverified

Matt Pocock strongly recommends test-driven development (TDD) for AI agents; writing the failing test first makes it hard for AI to generate weak tests that merely confirm its own existing implementation.

50%
Unverified

The executing party uses the Superpowers plugin (version 6.3.0), both AIs have the same version installed, and the most frequently requested skills include writing requirement specifications, executing according to plan, red before green (TDD), and verification before completion.

50%
Unverified

The core of Pstack's build phase is test-driven development (TDD), and it includes built-in TypeScript best-practice skills.

50%
Unverified

The method behind the proof gate is test-first, originating from TDD's red-green-refactor cycle, and is used to verify that the failure of a new test proves it actually covers the behavior to be fixed rather than being a test that always passes vacuously.

50%

Source Articles