File: rspec_failing.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 (19 lines) | stat: -rw-r--r-- 715 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
@rspec
Feature:

  RSpec failing in different ways results SimpleCov saying something beforehand. However it doesn't identify itself as the originator of said error.

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

  Scenario:
    When I run `bundle exec rspec bad_spec/failing_spec.rb`
    Then the exit status should not be 0
    And the output should match /SimpleCov.+previous.+error/
    And the output should not match /SimpleCov.+exit.+with.+status/

  Scenario:
    When I run `bundle exec rspec bad_spec/fail_with_5.rb`
    Then the exit status should be 5
    And the output should match /SimpleCov.+previous.+error/
    And the output should not match /SimpleCov.+exit.+with.+status/