logoalt Hacker News

didgetmasteryesterday at 6:36 PM1 replyview on HN

It's not just the tools, it is your tests. Most times you encounter and fix a bug, your first question should be 'Why didn't my tests catch this?'


Replies

deepsunyesterday at 6:43 PM

Yes, but the answer depends on the bug. 100% test coverage leads to brittle tests, when any change leads to many broken tests, and fixing them is like repeating the change multiple times.