New ask Hacker News story: How many times has a unittest saved your day?

How many times has a unittest saved your day?
4 by GrumpyNl | 5 comments on Hacker News.
How much time is spend on writing unit tests compared to receiving the bug and fixing it. All i hear around me is, the screen must be green so all unit tests have been successfully processed. When a unit test fails and the dot is red, 99% of the time they have to fix the unit test and not the actual code, I understand when you use unit test to workout your problem, but most of the time its the unit test that fails and not the code.

No comments