TDD in the Robots Era

Robots are writing more code every day. AI agents, code generators, automation tools — they all produce code faster than any human can. But faster does not mean correct. When a robot writes code for you, how do you know it works? How do you know it handles edge cases? How do you know it doesn’t break something that was working before? This is where TDD becomes important again. The Red/Green Cycle as a Verification Tool The classic TDD cycle is simple: write a failing test (red), make it pass (green), then refactor. This cycle was always useful, but now it has a new purpose — it gives humans a way to verify what robots produce. ...

April 6, 2026 · 3 min · Ruben Meza