Test-driven development in three easy steps

submited by
Style Pass
2021-09-08 20:00:06

You might have heard that test-driven development, or “TDD”, is as simple as three easy steps. So without further ado, I present them here.

While these steps definitely capture the method of TDD, they can make it sound easy. They explain the mechanics, but not the purpose. We use these steps to tease out misunderstandings, contradictions, and hidden complexity in our software and our (often informal) requirements. When they flow, and we can simply write the test, and make it pass, that’s a wonderful feeling.

Maybe you have something to say. You can comment below, email me, or tweet at me. I love feedback. I also love gigantic compliments, so please send those too.

Leave a Comment