Sha256: b6b95185179a1ef7ef84cb1a5d2011642e9e4201f91ac39cf997f6d65794bb70

Contents?: true

Size: 976 Bytes

Versions: 127

Compression:

Stored size: 976 Bytes

Contents

@rspec
Feature:

  Defining some groups and filters should give a corresponding
  coverage report that respects those settings after running rspec

  Scenario:
    Given SimpleCov for RSpec is configured with:
      """
      require 'simplecov'
      SimpleCov.start do
        add_group 'Libs', 'lib/faked_project/'
        add_filter '/spec/'
      end
      """

    When I open the coverage report generated with `bundle exec rspec spec`
    And I should see the groups:
      | name      | coverage | files |
      | All Files | 88.1%    | 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

127 entries across 111 versions & 19 rubygems

Version Path
cvss-suite-1.0.2 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/features/rspec_groups_and_filters_basic.feature
cvss-suite-1.0.1 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/features/rspec_groups_and_filters_basic.feature
cvss-suite-1.0.0 vendor/cache/ruby/2.2.0/gems/simplecov-0.11.2/features/rspec_groups_and_filters_basic.feature
simplecov-0.11.2 features/rspec_groups_and_filters_basic.feature
simplecov-0.11.1 features/rspec_groups_and_filters_basic.feature
simplecov-0.11.0 features/rspec_groups_and_filters_basic.feature
suzuko-0.1.8 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
suzuko-0.1.7 vendor/bundle/ruby/2.0.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
vagrant-cloudstack-1.2.0 vendor/bundle/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
solidus_backend-1.0.0.pre3 vendor/bundle/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
solidus_backend-1.0.0.pre2 vendor/bundle/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
solidus_backend-1.0.0.pre vendor/bundle/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
vagrant-cloudstack-1.1.0 vendor/bundle/gems/simplecov-0.10.0/features/rspec_groups_and_filters_basic.feature
simplecov-0.10.0 features/rspec_groups_and_filters_basic.feature
simplecov-0.9.2 features/rspec_groups_and_filters_basic.feature
simplecov-0.9.1 features/rspec_groups_and_filters_basic.feature