4 ms·
> I just sometimes wonder if I write tests too often. I try to do an extremely rough guesstimate as to the cost of not testing: - Debugging sessions to reprod
by MaulingMonkey 10y ago
> I just sometimes wonder if I write tests too often.
I try to do an extremely rough guesstimate as to the cost of not testing:
- Debugging sessions to reproduce latent bugs
- Debugging sessions to track down refactoring mistakes
- More thorough code reviews because you can't trust the testing suite to catch problems
- QA time to catch/reproduce bugs
- Costs of downtime when the bugs take out a critical system
- End user, customer support, and/or I.T. staff overhead in dealing with the damage caused by uncaught bugs, or working around unsolved bugs
My usual conclusion is that nobody I work with (nor myself) does enough automated testing.