Sha256: a2be7e253895c47b0eb8088290a8deaa8a510457fb09d7ae1f533a99a7763966

Contents?: true

Size: 1.48 KB

Versions: 24

Compression:

Stored size: 1.48 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'

      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'

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

      """

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.3.10 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.11.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.11.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.11 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.7 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.8 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.3.9 features/cucumber_cli_diff_disabled.feature
kosmas58-cucumber-0.3.11.3 features/cucumber_cli_diff_disabled.feature
kosmas58-cucumber-0.3.9.4 features/cucumber_cli_diff_disabled.feature
cucumber-0.3.10 features/cucumber_cli_diff_disabled.feature