@Enrico Parisi - great catch, thank you! I've updated the article to avoid spreading misinformation. ![]()
This highlights an interesting general point about error handling - you're much more likely to have an undetected bug in code that only runs in edge cases that you haven't tested. Measuring test coverage to close the feedback loop on unit test quality is a great way to highlight these areas. (I'll be writing up a post about that soon.)
- Log in to post comments