4 ms·
> The code-coverage approach, in contrast, is very cost-effecitve. For example, roughly speaking, it triggers all possible exceptions that your code can throw.
by emodendroket 10y ago
> The code-coverage approach, in contrast, is very cost-effecitve. For example, roughly speaking, it triggers all possible exceptions that your code can throw.
Well, unless you count uncaught exceptions from things your code calls.
- aisofteng 10y agoOr unless you simply forgot to check all possible invalid inputs - which, all of us being human, will happen periodically, even with code review.