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.14.0 .simplecov
jenkins_pipeline_builder-0.13.4 .simplecov
jenkins_pipeline_builder-0.13.3 .simplecov
jenkins_pipeline_builder-0.13.2 .simplecov
jenkins_pipeline_builder-0.13.1 .simplecov
jenkins_pipeline_builder-0.13.0 .simplecov
jenkins_pipeline_builder-0.12.3 .simplecov
jenkins_pipeline_builder-0.12.2 .simplecov
jenkins_pipeline_builder-0.12.1 .simplecov
jenkins_pipeline_builder-0.12.0 .simplecov
jenkins_pipeline_builder-0.11.2 .simplecov
jenkins_pipeline_builder-0.11.1 .simplecov
jenkins_pipeline_builder-0.11.0 .simplecov
jenkins_pipeline_builder-0.10.16 .simplecov
jenkins_pipeline_builder-0.10.15 .simplecov
jenkins_pipeline_builder-0.10.14 .simplecov
jenkins_pipeline_builder-0.10.13 .simplecov
jenkins_pipeline_builder-0.10.12 .simplecov
jenkins_pipeline_builder-0.10.11 .simplecov
jenkins_pipeline_builder-0.10.10 .simplecov