Sha256: 9095d368acd00419dc18f44800360839216c5ad9b83321adacf334038912d047

Contents?: true

Size: 899 Bytes

Versions: 19

Compression:

Stored size: 899 Bytes

Contents

require 'rubygems'
require 'simplecov'
require 'test/unit'
require 'shoulda'
require 'mocha/setup'
require 'ostruct'
require 'json'

SimpleCov.start do
  add_filter 'specs/ruby/1.9.1/gems/'
  add_filter '/test/'
  add_filter '/config/'
end

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
Mocha::Configuration.prevent(:stubbing_non_existent_method)

require 'coverband'

unless File.exist?('./tmp/coverband_baseline.json')
  `mkdir -p ./tmp`
  `touch ./tmp/coverband_baseline.json`
end

Coverband.configure do |config|
  config.root              = Dir.pwd
  config.redis             = Redis.new
  #config.coverage_baseline = JSON.parse(File.read('./tmp/coverband_baseline.json'))
  config.root_paths        = ['/app/']
  config.ignore            = ['vendor']
  config.percentage        = 100.0
  config.reporter          = 'std_out'
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
coverband-0.1.0.preRC9 test/test_helper.rb
coverband-0.1.0.preRC8 test/test_helper.rb
coverband-0.1.0.preRC7 test/test_helper.rb
coverband-0.1.0.preRC6 test/test_helper.rb
coverband-0.1.0.preRC5 test/test_helper.rb
coverband-0.1.0.preRC4 test/test_helper.rb
coverband-0.1.0.preRC3 test/test_helper.rb
coverband-0.1.0.preRC2 test/test_helper.rb
coverband-0.1.0.preRC1 test/test_helper.rb
coverband-0.1.0.pre test/test_helper.rb
coverband-0.0.26 test/test_helper.rb
coverband-0.0.24 test/test_helper.rb
coverband-0.0.23 test/test_helper.rb
coverband-0.0.22 test/test_helper.rb
coverband-0.0.21 test/test_helper.rb
coverband-0.0.20 test/test_helper.rb
coverband-0.0.19 test/test_helper.rb
coverband-0.0.18 test/test_helper.rb
coverband-0.0.17 test/test_helper.rb