Sha256: 3b9ccbb73e02a0f412496e14143498b4173dc0f85a953f03bfeed5a2f20df1c7
Contents?: true
Size: 506 Bytes
Versions: 21
Compression:
Stored size: 506 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.new([ 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
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
jenkins_pipeline_builder-0.15.1 | .simplecov |