Commit 5206c770 authored by Jamie Tanna's avatar Jamie Tanna

Document ChefSpec's coverage reporting being deprecated

parent c11a96bd
Pipeline #36352560 passed with stages
in 7 minutes and 20 seconds
layout: post
title: "Chef 14: ChefSpec Coverage Reporting Deprecation"
description: Noting the deprecation of using `ChefSpec::Coverage.start!` when using Chef 14 and above.
categories: blogumentation chef-14-upgrade
tags: chef-14 chef-14-upgrade chefspec test-coverage
no_toc: true
image: /assets/img/vendor/chef-logo.png
Since [ChefSpec 7.1.2](, the coverage reporting within ChefSpec is deprecated.
If you have coverage reporting enabled, you will see the follwoing warning in your ChefSpec logs:
ChefSpec's coverage reporting is deprecated and will be removed in a future version
Unfortunately the team don't want to support this as they [recommend focussing test efforts on the logic-heavy portions of the cookbook]( rather than testing everything.
Note that you will not see this message until you have ChefDK 2.5.3 or higher.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment