Sha256: 82da553c8f3798a8853804356c9d5a603ca98d8be6965cb786639b2e83597f77
Contents?: true
Size: 985 Bytes
Versions: 1
Compression:
Stored size: 985 Bytes
Contents
@test_unit Feature: Defining some groups and filters should give a corresponding coverage report that respects those settings after running tests Scenario: Given SimpleCov for Test/Unit is configured with: """ require 'simplecov' SimpleCov.start do add_group 'Libs', 'lib/faked_project/' add_filter '/test/' end """ When I open the coverage report generated with `bundle exec rake test` Then I should see the groups: | name | coverage | files | | All Files | 88.37% | 4 | | Libs | 86.11% | 3 | | Ungrouped | 100.0% | 1 | And I should see the source files: | name | coverage | | lib/faked_project.rb | 100.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 % |
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simplecov-0.5.2 | features/test_unit_groups_and_filters_basic.feature |