Experiment Suggests TDD in AI Coding Agents Might Be Just Theater

hichaelmart · x · 2026-08-12

Birgitta Böckeler, Distinguished Engineer at Thoughtworks, explored the actual value of integrating Test-Driven Development (TDD) with AI-assisted coding.

The article outlines three ways to combine TDD with AI: humans writing tests for AI to implement, AI writing tests for human review, and fully autonomous TDD inside the agentic loop. While the fully autonomous approach is currently the most popular, the author ran an exploratory evaluation to test its effectiveness.

The preliminary results showed no clearly discernible difference in quality when using a TDD workflow versus not using one. In fact, in several instances, the non-TDD workflow solutions were ranked slightly higher in design by the evaluating model (Opus), suggesting that practices good for humans might be irrelevant or bad for coding agents.

Original post →

More from coding & agent

coding & agent channel →