Sha256: 032315d5b1e7f82cd742c035e86f9619b387eda6756901226ba711d09f104555

Contents?: true

Size: 1.71 KB

Versions: 9

Compression:

Stored size: 1.71 KB

Contents

Feature: Cucumber command line
  In order to write better software
  Developers should be able to execute requirements as tests

  @mri186
  Scenario: Run single failing scenario with default diff enabled
    When I run cucumber -q features/failing_expectation.feature
    Then it should fail with
      """
      Feature: Failing expectation

        Scenario: Failing expectation
          Given failing expectation
            expected: "that",
                 got: "this" (using ==)
            Diff:
            @@ -1,2 +1,2 @@
            -that
            +this
             (Spec::Expectations::ExpectationNotMetError)
            ./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
            features/failing_expectation.feature:4:in `Given failing expectation'
      
      Failing Scenarios:
      cucumber features/failing_expectation.feature:3 # Scenario: Failing expectation
      
      1 scenario (1 failed)
      1 step (1 failed)

      """

  @mri186
  Scenario: Run single failing scenario with diff output disabled
    When I run cucumber -q --no-diff features/failing_expectation.feature
    Then it should fail with
      """
      Feature: Failing expectation

        Scenario: Failing expectation
          Given failing expectation
            expected: "that",
                 got: "this" (using ==) (Spec::Expectations::ExpectationNotMetError)
            ./features/step_definitions/sample_steps.rb:63:in `/^failing expectation$/'
            features/failing_expectation.feature:4:in `Given failing expectation'

      Failing Scenarios:
      cucumber features/failing_expectation.feature:3 # Scenario: Failing expectation
      
      1 scenario (1 failed)
      1 step (1 failed)

      """

Version data entries

9 entries across 9 versions & 5 rubygems

Version Path
aslakhellesoy-cucumber-0.3.11.200907091518 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.11.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.11.6 features/cucumber_cli_diff_disabled.feature
jwilger-cucumber-0.3.11.200906161550 features/cucumber_cli_diff_disabled.feature
jwilger-cucumber-0.3.11.200907091518 features/cucumber_cli_diff_disabled.feature
kosmas58-cucumber-0.3.11.6 features/cucumber_cli_diff_disabled.feature
square-cucumber-0.3.12.2 features/cucumber_cli_diff_disabled.feature
squirrel-cucumber-0.3.12.1 features/cucumber_cli_diff_disabled.feature
squirrel-cucumber-0.3.12 features/cucumber_cli_diff_disabled.feature