Sha256: 8d065f350df4551a6b6e6e8b854890625086ae27c799f10d807ae0226e9783a6

Contents?: true

Size: 1.46 KB

Versions: 17

Compression:

Stored size: 1.46 KB

Contents

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

  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'

      1 scenario (1 failed)
      1 step (1 failed)

      """

  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'

      1 scenario (1 failed)
      1 step (1 failed)

      """

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
aslakhellesoy-cucumber-0.3.1.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3.6 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.6.1 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.5 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.3 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.2 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.6 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.4 features/cucumber_cli_diff_disabled.feature