I’m a fan of code coverage as a way to ensure that there are covering tests. One area that I tend to rely heavily on Code Coverage for is to catch any tests that are no longer working correctly due to changes in the production code. That often works out well, but today I got… Continue reading When Code Coverage Betrayed Me
Tag: Test Driven Development
Code Coverage does Matter
Is it relevant to have a code coverage target? In a talk at NDC Oslo 2014 Uncle Bob said that the only reasonable goal is 100%. On the other hand Mark Seemann recently said on twitter and in a follow up blog post that “I thought it was common knowledge that nothing good comes from… Continue reading Code Coverage does Matter
Code Coverage != Functional Coverage
To reach 100% testing coverage is a dream for many teams. The metric used is code coverage for tests, but is that enough? Unfortunately not. Code line coverage is not the same as functional coverage. And it is full functional coverage that really matters in the end. Look at a simple method that formats a… Continue reading Code Coverage != Functional Coverage
NDC 2014 Highlights
Last week, I was in beautiful Oslo in Norway most of the week for NDC 2014. It was a great conference and I’d like to point out a few highlights. For the first time, I was a speaker at a major conference. I’ve done quite a few internal talks before and a few externals too,… Continue reading NDC 2014 Highlights