Sha256: b91982beffc56e973749e0efe3703725db9b7be2c5486c2426edebb3684df884
Contents?: true
Size: 500 Bytes
Versions: 54
Compression:
Stored size: 500 Bytes
Contents
require 'simplecov-rcov' SimpleCov.profiles.define 'spec' do add_group 'jenkins_pipeline_builder', '/lib/' add_filter 'spec' coverage_dir 'out/coverage' formatter SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::Console, SimpleCov::Formatter::RcovFormatter, ] end class SimpleCov::Formatter::Console def format(result) print "COVERAGE: #{result.covered_percent.round(2)}%\n" end end SimpleCov.start 'spec' #if ENV["COVERAGE"]
Version data entries
54 entries across 54 versions & 1 rubygems