diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 762c465b5..29762f59d 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,12 @@ # frozen_string_literal: true +require 'simplecov' +require 'simplecov-cobertura' + +unless ENV['SIMPLECOV'] == '0' + SimpleCov.start + SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter +end $LOAD_PATH << 'lib/' require 'rspec-parameterized' |