
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
10 lines
271 B
Ruby
10 lines
271 B
Ruby
require 'puppetlabs_spec_helper/module_spec_helper'
|
|
require 'shared_examples'
|
|
|
|
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! }
|