Add simplecov support in order to generate test coverage.
This commit is contained in:
parent
596d005a98
commit
88eea1708e
2 changed files with 6 additions and 0 deletions
2
Gemfile
2
Gemfile
|
@ -9,6 +9,8 @@ group :development, :test do
|
||||||
gem 'rspec-system-serverspec', :require => false
|
gem 'rspec-system-serverspec', :require => false
|
||||||
gem 'serverspec', :require => false
|
gem 'serverspec', :require => false
|
||||||
gem 'puppet-lint', :require => false
|
gem 'puppet-lint', :require => false
|
||||||
|
gem 'pry', :require => false
|
||||||
|
gem 'simplecov', :require => false
|
||||||
end
|
end
|
||||||
|
|
||||||
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
if puppetversion = ENV['PUPPET_GEM_VERSION']
|
||||||
|
|
|
@ -1 +1,5 @@
|
||||||
|
require 'simplecov'
|
||||||
|
SimpleCov.start do
|
||||||
|
add_filter "/spec/"
|
||||||
|
end
|
||||||
require 'puppetlabs_spec_helper/module_spec_helper'
|
require 'puppetlabs_spec_helper/module_spec_helper'
|
||||||
|
|
Loading…
Reference in a new issue