Sha256: 6594c57c5d2394816f8c6b3fe9385e11792dc5ddfa79419b4495b8787e015cb9

Contents?: true

Size: 595 Bytes

Versions: 2

Compression:

Stored size: 595 Bytes

Contents

# frozen_string_literal: true

# A SimpleCov and Codecov configuration to track code coverage in your extension
#
# Include it AT THE TOP of your spec/spec_helper.rb:
#
#     require 'solidus_dev_support/rspec/coverage'
#
# Note that things may not work properly if you don't include this at the very top!
#

require 'simplecov'
SimpleCov.start('rails') do
  add_filter %r{^/lib/generators/.*/install/install_generator.rb}
  add_filter %r{^/lib/.*/factories.rb}
  add_filter %r{^/lib/.*/version.rb}
end

if ENV['CI']
  require 'codecov'
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_dev_support-0.3.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-0.2.0 lib/solidus_dev_support/rspec/coverage.rb