Archive for July, 2004

TDD is the same thing as TFD

Friday, July 16th, 2004

Pragmatic Programmer, Dave Thomas, argues that Test-Driven Development and Test-First Development are different. What he calls “Test-Driven Development”, I would call “Test-Friendly Development”.

Here is how Kent Beck, the guy who wrote the book on Test-Driven Development (and who I believe came up with the names for both TDD and TFD) defines TDD:

“Without taking too much counsel of our fears, here’s what we do: we drive development with automated tests, a style of development called Test-Driven Development (TDD). In Test-Driven Development, we write new code only if an automated test has failed…”

Sorry Dave, I disagree with your disagreement. :)