File: rspec_without_simplecov.feature

package info (click to toggle)
ruby-simplecov 0.22.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,500 kB
  • sloc: ruby: 5,550; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@rspec
Feature:

  Running specs without simplecov configuration

  Background:
    Given I'm working on the project "faked_project"

  Scenario: No config at all
    When I successfully run `bundle exec rspec spec`
    Then no coverage report should have been generated

  Scenario: Configured, but not started
    Given SimpleCov for RSpec is configured with:
      """
      require 'simplecov'
      SimpleCov.configure do
        add_filter 'somefilter'
      end
      """

    When I successfully run `bundle exec rspec spec`
    Then no coverage report should have been generated