Sha256: 7bfc6681f204d4b41203a9bff52bcda30e1ac03c26dca3d584cc18df3a52ca43

Contents?: true

Size: 726 Bytes

Versions: 5

Compression:

Stored size: 726 Bytes

Contents

# frozen_string_literal: true

require "simplecov"

# We start it with the rails param to ensure it includes coverage for all code
# started by the rails app, and not just the files touched by our unit tests.
# This gives us the most accurate assessment of our unit test coverage
# https://github.com/colszowka/simplecov#getting-started
SimpleCov.start do
  # We filter the spec folder, mainly to ensure that any dummy apps don't get
  # included in the coverage report. However our intent is that nothing in the
  # spec folder should be included
  add_filter "/spec/"
  # The version file is simply just that, so we do not feel the need to ensure
  # we have a test for it
  add_filter "lib/defra_ruby_features/version"
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
defra_ruby_features-0.1.4 spec/support/simplecov.rb
defra_ruby_features-0.1.3 spec/support/simplecov.rb
defra_ruby_features-0.1.2 spec/support/simplecov.rb
defra_ruby_features-0.1.1 spec/support/simplecov.rb
defra_ruby_features-0.1.0 spec/support/simplecov.rb