Back to articles

Tag archive

#tdd

R
Nov 5, 2026

Red-Green-Refactor Was Always a Provenance Rule

Two 2026 empirical studies land the same shape: tests generated from a task description alone catch roughly 25% of injected faults, while tests generated after the model has seen the implementation catch roughly 14%, and chain-of-thought and chain-of-verification prompting do not close the gap. Red-green-refactor's temporal order was never a workflow preference. It was a provenance claim about the test, and the agentic workflow that generates code and then back-fills tests inherits a measurable disadvantage the human discipline was always built to prevent.

Nov 5, 20267 min read1 reactions0 comments