Sha256: a8e80afc6b54f9bd3bd04994e9606284ba84a75678c5edd84f4ed573a272a321
Contents?: true
Size: 676 Bytes
Versions: 1
Compression:
Stored size: 676 Bytes
Contents
require 'logger' require 'rspec' require 'simplecov' require 'simplecov-rcov' SimpleCov.profiles.define 'spec' do add_group 'jenksin_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/jenksin_pipeline_builder', __FILE__) 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.1.3 | spec/unit_tests/spec_helper.rb |