Sha256: 2b2d8a8042b45498028d0d33e9e8f25d01f5bf8d588a621da36ec9fa8556dcc0

Contents?: true

Size: 1012 Bytes

Versions: 36

Compression:

Stored size: 1012 Bytes

Contents

@test_unit
Feature:

  Using the setting `tracked_files` should add files that were not
  required to the report.

  Scenario:
    Given SimpleCov for Test/Unit is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        track_files "lib/**/*.rb"
      end
      """

    When I open the coverage report generated with `bundle exec rake test`
    Then I should see the groups:
      | name      | coverage | files |
      | All Files | 76.81%   | 7     |

    And I should see the source files:
      | name                                    | coverage |
      | lib/faked_project.rb                    | 100.0 %  |
      | lib/faked_project/untested_class.rb     | 0.0 %    |
      | lib/faked_project/some_class.rb         | 80.0 %   |
      | lib/faked_project/framework_specific.rb | 75.0 %   |
      | lib/faked_project/meta_magic.rb         | 100.0 %  |
      | test/meta_magic_test.rb                 | 100.0 %  |
      | test/some_class_test.rb                 | 100.0 %  |

Version data entries

36 entries across 36 versions & 10 rubygems

Version Path
dirwatch-0.0.9 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
dirwatch-0.0.8 vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
tdiary-5.0.9 vendor/bundle/gems/simplecov-0.14.1/features/config_tracked_files.feature
dirwatch-0.0.6 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
dirwatch-0.0.5 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
dirwatch-0.0.4 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
dirwatch-0.0.3 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
dirwatch-0.0.2 vendor/bundle/ruby/2.3.0/gems/simplecov-0.13.0/features/config_tracked_files.feature
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_tracked_files.feature
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_tracked_files.feature
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_tracked_files.feature
logstash-filter-cache-redis-0.1.0 vendor/bundle/jruby/1.9/gems/simplecov-0.14.1/features/config_tracked_files.feature
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/simplecov-0.14.1/features/config_tracked_files.feature
simplecov-patched-0.14.3 features/config_tracked_files.feature
simplecov-patched-0.14.2 features/config_tracked_files.feature
simplecov-0.14.1 features/config_tracked_files.feature
simplecov-0.14.0 features/config_tracked_files.feature
simplecov-0.13.0 features/config_tracked_files.feature
abaci-0.3.0 vendor/bundle/gems/simplecov-0.12.0/features/config_tracked_files.feature
ivanvc-logstash-input-s3-3.1.1.4 vendor/local/gems/simplecov-0.12.0/features/config_tracked_files.feature