Sha256: a4cd10a5a809865d2e1ed7c68289e54caf72aad650d16d80fee0780ddfe36fd3

Contents?: true

Size: 700 Bytes

Versions: 2

Compression:

Stored size: 700 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"]
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coverband-6.1.4 test/rails5_dummy/config/coverband.rb
coverband-6.1.3 test/rails5_dummy/config/coverband.rb