Practices I Abandoned with Agents: An Ode to Test-Driven Development

Adam Tornhill ยท article ยท 2026-09-03 source โ†— Reader ๐Ÿ–ฅ๏ธ

Agentic EngineeringAI-Friendly Code (Code Health for Agents)Human-in-the-LoopPull Requests & Async Code ReviewTest-Driven DevelopmentVerifiability (as the Quality Bar)
Granular, human-cognition-scaled Test-Driven Development does not survive the transition to agentic coding and should be replaced by a coarser, feature-level practice โ€” tests (especially end-to-end) as the human/agent abstraction boundary, with failing-test discipline retained but no longer organizing work into small red-green-refactor steps.

practical ยท mixed โ€” Narrative (two autobiographical paradigm-shift stories) in service of an argumentative claim about which practice to adopt now; ends with a prescriptive recommendation for agentic development.

Structure

PartRole
TDD backstory and the radar-station project winevidence / credibility
The Clojure/CodeScene REPL-driven shiftprecedent / argument-by-analogy
Agentic coding: exit TDDcore argument
The surviving part of TDD (double-entry bookkeeping, red-green redefinition, delegated refactoring)qualification / synthesis

Key terms

Propositions

Arguments

Classic small-step TDD should be abandoned as the primary design technique for agentic coding. strength: medium
Explicit premises:
Implicit premises:
Inferences:
End-to-end, test-first validation (plus failing-test discipline) is the right replacement for granular TDD in agentic coding. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Closes gaps elsewhere

Related documents