Sha256: d47984d35c30dbc25313eadafbf4b07fbffd6f9e8417567cf91d799fa037fbb4

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 Bytes

Contents

require 'simplecov'
require 'support/integration_helper'

SimpleCov.profiles.define 'gem' do
  add_filter '/spec/'
  add_filter '/features/'
  add_filter '/vendor/'

  add_group 'Libraries', '/lib/'
end

SimpleCov.start 'gem'

require 'bundler/setup'
require 'vcloud/edge_gateway'


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 < 90
    print "ERROR::BAD_COVERAGE\n"
    print "Coverage is less than acceptable limit(90%). Please add more tests to improve the coverage\n"
    exit(1)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vcloud-edge_gateway-0.5.0 spec/spec_helper.rb
vcloud-edge_gateway-0.4.0 spec/spec_helper.rb