Add simplecov support in order to generate test coverage.

This commit is contained in:
Ashley Penney 2013-08-17 20:55:23 -04:00
parent 596d005a98
commit 88eea1708e
2 changed files with 6 additions and 0 deletions

View file

@ -9,6 +9,8 @@ group :development, :test do
gem 'rspec-system-serverspec', :require => false
gem 'serverspec', :require => false
gem 'puppet-lint', :require => false
gem 'pry', :require => false
gem 'simplecov', :require => false
end
if puppetversion = ENV['PUPPET_GEM_VERSION']

View file

@ -1 +1,5 @@
require 'simplecov'
SimpleCov.start do
add_filter "/spec/"
end
require 'puppetlabs_spec_helper/module_spec_helper'