logoalt Hacker News

elemenoyesterday at 8:05 PM0 repliesview on HN

It’s not an agentic pattern, it’s an approach to test driven development.

You write a failing test for the new functionality that you’re going to add (which doesn’t exist yet, so the test is red). You then write the code until the test passes (that is, goes green).