For years we’ve looked for coverage as the key metric representing quality. We know it’s not much, but it’s what we’ve got, right?
The truth is that coverage lies all the time. The easiest way to trick coverage tool is remove the ”assert” statement from the test. There are a couple of ways we’re tricking ourselves to believing the coverage report, painting the wrong picture.
In this session, I’ll go over what we believe are coverage truths (usually made to believe by tool vendors…) and what to actually look for in coverage. Coverage reports are not useless – you just need to know what to look for.
We build assumptions and make decisions based on what coverage tells us. Let’s make sure we start by understanding what real useful coverage is.
Speaker: Gil Zilberfeld