Sha256: 40179477d1a4f4fefc7f7e87fc3c72e4c8a2ecc3b6f0f58e0f39c08e850906b2

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

Stored size: 614 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vcloud-edge_gateway-0.2.2 spec/spec_helper.rb
vcloud-edge_gateway-0.2.1 spec/spec_helper.rb
vcloud-edge_gateway-0.2.0 spec/spec_helper.rb
vcloud-edge_gateway-0.1.0 spec/spec_helper.rb
vcloud-edge_gateway-0.0.2 spec/spec_helper.rb
vcloud-edge_gateway-0.0.1 spec/spec_helper.rb