4 ms·
> If you spend more time writing / running tests that you would fixing the bugs they find, you may be doing it wrong. Why should those 2 activities be compared
by wott 10y ago
> If you spend more time writing / running tests that you would fixing the bugs they find, you may be doing it wrong.
Why should those 2 activities be compared? They do not compare: writing/running tests is about discovering the bug, not fixing it. You still need to fix it after you have done your testing activity.
The time spent writing/running tests should better be compared to the time spent in bug discovery without tests, i.e. how much you value the fact that your users are going to undergo bugs, what the consequences of the users hitting bugs are, what the process to report them is, etc.
- cs02rm0 10y agoYou're right, unless you're at an extreme (zero automated testing, zero bugs found in the wild) it's much more nuanced as to what the balance is (or should be), but there is a balance.