TDD inside AI coding agents shows no clear benefit, sometimes worse
Martin Fowler’s experiment pits test‑driven development against a straight‑through AI coding loop using Sonnet 4.6 and Opus 4.8. The models produced comparable mutation scores, and the non‑TDD approach even ranked higher on design and test quality in several cases. The result questions whether TDD adds value for AI agents.