|
|
|
|
|
by paulddraper
2576 days ago
|
|
It's possible, but after fixing lots of these, my experience says usually talking about stuff like clicking a button before a modal animates out of the way. It's sort if a "bug" in that yes, clicking here and then here 1ms later doesn't do do the best thing, but it's basically irrelevant. Testing is inherently a probabilistic endeavor. "What can I do that is most likely to prevent the largest amount of bugginess?" Fixing tests that rarely fail is -- in my experience -- a poor answer to such a question. |
|
That's a pretty powerful insight!
I think that a lot of developers who are firmly in the test-driven camp don't realize this, but instead think that if you have 100% test coverage, your code will work 100% of the time. Fixing bugs, to them, is "just" an inevitable result of increasing your test coverage, so that's what they focus on.