I'm starting to learn about Test Driven Development. I've read quite a few articles that talk about TDD. Some refer to it as Test Driven Development. Others call it Test Driven Design. Are they the same thing? I get the impression they are the same, but if not, what are the main differences?
Test driven development refers to a practice describing how to write code.
Test driven design makes an additional claim: that following this practice will result in good (overall) design.
There are some of the TDD evangelists adocating that "Test Driven Development" is primarily a design technique, so they renamed it "Test Driven Design" some time ago. But this point of view has been seen very sceptical by others, read for example this former SO post
Does Test Driven Development take the focus from Design?
There is also an interesting german blog entry of Ralf Westphal discussing this topic:
http://ralfw.blogspot.com/2011/07/test-driven-unterstanding.html
(Here's a Google Translation if you don't understand German).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With