Sha256: fd0c9c72d80fb3d85c561a2f1aad2745ee4747f3b9add60be112fd925bb7c6c2

Contents?: true

Size: 691 Bytes

Versions: 32

Compression:

Stored size: 691 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['CODECOV_TOKEN']
  require 'codecov'
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
else
  warn "Provide a CODECOV_TOKEN environment variable to enable Codecov uploads"
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
solidus_dev_support-2.9.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.8.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.7.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.6.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.6 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.5 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.4 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.3 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.2 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.1 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.5.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.4.3 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.4.2 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.4.1 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.4.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.3.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.2.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.1.0 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.0.1 lib/solidus_dev_support/rspec/coverage.rb
solidus_dev_support-2.0.0 lib/solidus_dev_support/rspec/coverage.rb