Sha256: 8ab2d88f47e60ff13a377059228fae66a22f60c71bbdb356973bc516b2fc9bb7
Contents?: true
Size: 676 Bytes
Versions: 3
Compression:
Stored size: 676 Bytes
Contents
require 'logger' require 'rspec' require 'simplecov' require 'simplecov-rcov' SimpleCov.profiles.define 'spec' do add_group 'jenkins_pipeline_builder', '/lib/' 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"] require File.expand_path('../../../lib/jenkins_pipeline_builder', __FILE__) RSpec.configure do |config| config.before(:each) do end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jenkins_pipeline_builder-0.2.0 | spec/unit_tests/spec_helper.rb |
jenkins_pipeline_builder-0.1.6 | spec/unit_tests/spec_helper.rb |
jenkins_pipeline_builder-0.1.5 | spec/unit_tests/spec_helper.rb |