Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emodendroket
on Jan 2, 2017
|
parent
|
context
|
favorite
| on:
How I Write Tests
> 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
on Jan 2, 2017
[–]
Or unless you simply forgot to check all possible invalid inputs - which, all of us being human, will happen periodically, even with code review.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Well, unless you count uncaught exceptions from things your code calls.