>So this is the first reason TDD fails: You're trying to make a design before you learn anything about it.
Well yes, I use my unit tests to learn what works and what doesn't. You're allowed to rewrite or scrap tests, if they are no longer relevant. In the end I feel that having unit tests result in a better final design.
Yes, sometime unit tests are a little contrived. But they can also help you design cleaner interfaces and increase your code reuse.
Well yes, I use my unit tests to learn what works and what doesn't. You're allowed to rewrite or scrap tests, if they are no longer relevant. In the end I feel that having unit tests result in a better final design.
Yes, sometime unit tests are a little contrived. But they can also help you design cleaner interfaces and increase your code reuse.