Skip to main content

The second D in TDD

Some proponents of TDD say, that TDD forces you to find a good
design. Some even translate TDD to Test Driven Design. I don’t agree.
Mostly.
Lets start with the small part where I do agree.
Since TDD forces you to write test first, it forces you to think
about how you want to use an API, because that is the very first thing
you write down. This is a good thing and in my case led to more...