Sha256: abe64d007bb18ac49a9bbaa2f553e55e946155f4108b53617925703bf5d5335e

Contents?: true

Size: 810 Bytes

Versions: 9

Compression:

Stored size: 810 Bytes

Contents

# frozen_string_literal: true

require "simplecov-json"

SimpleCov.formatters =
  SimpleCov::Formatter::MultiFormatter.new([
    SimpleCov::Formatter::HTMLFormatter,
    SimpleCov::Formatter::JSONFormatter,
  ])

SimpleCov.configure do
  command_name "RSpec"
  refuse_coverage_drop
  minimum_coverage_by_file 80
  maximum_coverage_drop 5
  at_exit do
    SimpleCov.result.format!
  end
end

SimpleCov.start do
  add_filter "/spec/"
  add_filter "/bin/"
  add_filter "/gemfiles/"
  add_filter "/lib/stub_requests/core_ext/array/extract_options.rb"
  add_filter "/lib/stub_requests/core_ext/class/attribute.rb"
  add_filter "/lib/stub_requests/core_ext/object/blank.rb"
  add_filter "/lib/stub_requests/core_ext/kernel/singleton_class.rb"
  add_filter "/lib/stub_requests/core_ext/module/redefine_method.rb"
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
stub_requests-0.1.11 .simplecov
stub_requests-0.1.10 .simplecov
stub_requests-0.1.9 .simplecov
stub_requests-0.1.8 .simplecov
stub_requests-0.1.7 .simplecov
stub_requests-0.1.6 .simplecov
stub_requests-0.1.5 .simplecov
stub_requests-0.1.4 .simplecov
stub_requests-0.1.3 .simplecov