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