Sha256: 4da3af08b1203ea1902535b08429f90a1a92fe32e6fb65be336ff31938ab8248
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
if ENV['COVERAGE'] require 'simplecov' SimpleCov.profiles.define 'gem' do add_filter '/spec/' add_filter '/vendor/' add_group 'Libraries', '/lib/' end SimpleCov.start 'gem' end require 'bundler/setup' require 'vcloud/core' require 'vcloud/tools/tester' require 'support/stub_fog_interface.rb' require 'support/integration_helper' if ENV['COVERAGE'] SimpleCov.at_exit do SimpleCov.result.format! # do not change the coverage percentage, instead add more unit tests to fix coverage failures. if SimpleCov.result.covered_percent < 81 print "ERROR::BAD_COVERAGE\n" print "Coverage is less than acceptable limit(81%). Please add more tests to improve the coverage" exit(1) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vcloud-core-0.5.0 | spec/spec_helper.rb |