[PDK-1051] rspec-puppet: Display coverage report results via the RSpec reporter Created: 2018/06/25  Updated: 2018/07/26  Resolved: 2018/07/09

Status: Closed
Project: Puppet Development Kit
Component/s: None
Affects Version/s: None
Fix Version/s: PDK 1.6.1

Type: Bug Priority: Normal
Reporter: Tim Sharpe Assignee: Tim Sharpe
Resolution: Fixed Votes: 0
Labels: resolved-issue-added
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Acceptance Criteria:

When running an rspec-puppet suite with `--format json`, the coverage results should be included in the JSON output.

Method Found: Needs Assessment
Release Notes: Bug Fix
Release Notes Summary: PDK will now display the results of an rspec-puppet test coverage report (if the user has enabled coverage reporting in their rspec-puppet configuration)
QA Risk Assessment: Needs Assessment


As reported in https://github.com/puppetlabs/pdk/issues/471, it's not currently possible for PDK users to see the rspec-puppet generated resource coverage report (if they have it configured) when running `pdk test unit` as the results are currently printed directly to stdout and not sent to the RSpec reporter. This means that they are not part of the JSON object that PDK reads in to display to the user.

Generated at Sat Aug 08 08:46:05 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.