ChefSpec's coverage reporting is being deprecated


As a heads up to all ChefSpec users, we’ve decided to finally deprecate the coverage reporting feature, to be removed in a future release. This has been a long time coming, the coverage features incentivize the writing of more brittle tests as people become overly focused on maintaining 100% test coverage. We would like to see some kind of coverage reporting features added back in future, but only when we can find a way to ensure it doesn’t result in these perverse incentives.

While the feature is being deprecated now, we will leave the ChefSpec::Coverage.start! API in place for a long time so that even if there is no coverage reporting, old test code won’t break. If anyone has any questions about this deprecation, please feel free to respond to me here, directly via email, or on Slack.