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.10.9 .simplecov
jenkins_pipeline_builder-0.10.8 .simplecov
jenkins_pipeline_builder-0.10.7 .simplecov
jenkins_pipeline_builder-0.10.6 .simplecov
jenkins_pipeline_builder-0.10.5 .simplecov
jenkins_pipeline_builder-0.10.4 .simplecov
jenkins_pipeline_builder-0.10.3 .simplecov
jenkins_pipeline_builder-0.10.2 .simplecov
jenkins_pipeline_builder-0.10.1 .simplecov
jenkins_pipeline_builder-0.10.0 .simplecov
jenkins_pipeline_builder-0.9.10 .simplecov
jenkins_pipeline_builder-0.9.9 .simplecov
jenkins_pipeline_builder-0.9.8 .simplecov
jenkins_pipeline_builder-0.9.7 .simplecov
jenkins_pipeline_builder-0.9.6 .simplecov
jenkins_pipeline_builder-0.9.4 .simplecov
jenkins_pipeline_builder-0.9.3 .simplecov
jenkins_pipeline_builder-0.9.2 .simplecov
jenkins_pipeline_builder-0.9.1 .simplecov
jenkins_pipeline_builder-0.9.0 .simplecov