Add rspec coverage output

This checks which Puppet resources have been explicitly checked as part
of the current test run and outputs both a coverage percentage and a
list of untouched resources.

Change-Id: Idef8ed412e3fe5e15691cc60b1ef04104967ee0a
This commit is contained in:
Sebastien Badia 2015-05-19 15:15:17 -07:00
parent 73680b0d5c
commit a236986b09

View File

@ -5,3 +5,5 @@ RSpec.configure do |c|
c.alias_it_should_behave_like_to :it_configures, 'configures'
c.alias_it_should_behave_like_to :it_raises, 'raises'
end
at_exit { RSpec::Puppet::Coverage.report! }