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

Version Path
jenkins_pipeline_builder-0.8.5 .simplecov
jenkins_pipeline_builder-0.8.4 .simplecov
jenkins_pipeline_builder-0.8.3 .simplecov
jenkins_pipeline_builder-0.8.2 .simplecov
jenkins_pipeline_builder-0.8.1 .simplecov
jenkins_pipeline_builder-0.8.0 .simplecov
jenkins_pipeline_builder-0.7.6 .simplecov
jenkins_pipeline_builder-0.7.5 .simplecov
jenkins_pipeline_builder-0.7.4 .simplecov
jenkins_pipeline_builder-0.7.3 .simplecov
jenkins_pipeline_builder-0.7.2 .simplecov
jenkins_pipeline_builder-0.7.1 .simplecov
jenkins_pipeline_builder-0.7.0 .simplecov
jenkins_pipeline_builder-0.6.0 .simplecov