Sha256: 05c383e392fd2700f8a8505a99c9a7a988b3a1692db0fe8dba2f8c7c86d68285

Contents?: true

Size: 893 Bytes

Versions: 7

Compression:

Stored size: 893 Bytes

Contents

require 'rubygems'
require 'simplecov'
require 'test/unit'
require 'shoulda'
require 'mocha'
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

7 entries across 7 versions & 1 rubygems

Version Path
coverband-0.0.16 test/test_helper.rb
coverband-0.0.15 test/test_helper.rb
coverband-0.0.14 test/test_helper.rb
coverband-0.0.13 test/test_helper.rb
coverband-0.0.12 test/test_helper.rb
coverband-0.0.11 test/test_helper.rb
coverband-0.0.10 test/test_helper.rb