3 ms·
I work somewhere without any unit tests at all, and he still lost me at that sentence. If he thinks test driven development can produce horrible implementation
by eterm 11y ago
I work somewhere without any unit tests at all, and he still lost me at that sentence.
If he thinks test driven development can produce horrible implementations then he's right, they can. But he's horribly wrong that the solution is to abandon unit testing.
Without unit tests developers begin to live in fear of parts of the code, and refuse to clean it up "in case it breaks something", and there's no way to verify those fears aren't founded.
Any refactoring job starts with annoying a lot of people by breaking things that previous worked and questions start to appear from people that "it used to work before" when some of those breakages slip through to the customer.
Refactoring becomes something to fear because "we'll have to retest everything" which is a large expense that cannot be afforded.