Files
vagrant-libvirt/spec/spec_helper.rb
Darragh Bailey ac2c857599 Exclude spec helpers from coverage (#1179)
Filter out spec helpers and test code from coverage reports.

This will prevent future changes reporting reduction in coverage
even when only adding additional tests.
2020-12-15 13:15:06 +00:00

16 lines
349 B
Ruby

require 'simplecov'
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
enable_coverage :branch if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5')
add_filter 'spec/'
end
require 'vagrant-libvirt'
require 'support/environment_helper'
require 'vagrant-spec/unit'
RSpec.configure do |spec|
end