Sha256: 481200d2e4fa4ee283d2f65627ed6346f1223961623cc7758928a613d700e58b
Contents?: true
Size: 751 Bytes
Versions: 1
Compression:
Stored size: 751 Bytes
Contents
require 'logger' require 'rspec' require 'simplecov' require 'simplecov-rcov' require 'webmock/rspec' 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__) require 'rspec/matchers' require 'equivalent-xml' RSpec.configure do |config| config.before(:each) do end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jenkins_pipeline_builder-0.5.2 | spec/unit_tests/spec_helper.rb |