Strive For Good Unit Testing, Not 100% Coverage

Here is a great article on unit testing coverage written by my fellow Microsoft MVP Jeremy Clark. Microsoft actually told me that a good coverage goal should be 75%.

https://jeremybytes.blogspot.com/2016/08/code-coverage-should-not-be-goal.html

3 thoughts on “Strive For Good Unit Testing, Not 100% Coverage

  1. I don’t recall the exact quote form Martin Fowler, but it was something like: “Imperfect unit tests that are run continuously catch more bugs than perfect unit tests that never get written.” The beauty of unit tests is we can always add more when we find that they missed a case.

Comments are closed.