3 ms·
I already tried writing unit tests first (TDD); it was a waste of time in my case. TDD doesn't help you at all in terms of designing the right architecture. It
by jondubois 8y ago
I already tried writing unit tests first (TDD); it was a waste of time in my case.
TDD doesn't help you at all in terms of designing the right architecture. It encourages you to write lots of small classes and it discourages you from changing them later as your understanding of requirements becomes deeper - This leads to suboptimal architecture.
I much prefer integration tests to test my code during development. They don't have to be slow if you design them properly.