Chef 14: ChefSpec Coverage Reporting Deprecation

Featured image for sharing metadata for article

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.

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

#blogumentation #chef-14 #chef-14-upgrade #chefspec #test-coverage.

This post was filed under articles.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.