Sha256: 91ed0a8303e49dd37918e098c16abcdf91b2e3a7c8f301f8211ab2984d564458
Contents?: true
Size: 775 Bytes
Versions: 21
Compression:
Stored size: 775 Bytes
Contents
# frozen_string_literal: true Coverband.configure do |config| # NOTE: we reuse this config in each of the fake rails projects # the below ensures the root is set to the correct fake project config.root = ::File.expand_path("../../../", __FILE__).to_s + "/rails#{Rails::VERSION::MAJOR}_dummy" config.store = Coverband::Adapters::RedisStore.new(Redis.new(db: 2, url: ENV["REDIS_URL"]), redis_namespace: "coverband_test") if defined? Redis config.ignore = %w[.erb$ .slim$] config.root_paths = [] config.logger = Rails.logger config.verbose = true config.background_reporting_enabled = true config.track_routes = true config.use_oneshot_lines_coverage = true if ENV["ONESHOT"] config.simulate_oneshot_lines_coverage = true if ENV["SIMULATE_ONESHOT"] end
Version data entries
21 entries across 21 versions & 1 rubygems