Are Your Tests Well-Travelled? Thoughts About Coverage
There are many places to visit it the world and it can be interesting to see “where you’ve been”. There are many places in the software for tests to visit, and seeing “where the tests have been” can be very interesting for testers.
Dot Graham explains what coverage is, and why it can be misleading to talk about 100% coverage. Coverage is a relationship between the tests and the software being tested, and is an objective measurement of some aspect of thoroughness of the testing. But should testing be thorough? Not necessarily. There are two mis-uses of the term coverage which you should be aware of. Whenever you hear the term “coverage”, there is an important question that you should always ask.