Sha256: 5773023c47700ce0d515f8a9ae9234d1166a95bb55e73eb5cf541384e6995539

Contents?: true

Size: 1.43 KB

Versions: 39

Compression:

Stored size: 1.43 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 step

      """

  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 step

      """

Version data entries

39 entries across 39 versions & 6 rubygems

Version Path
aslakhellesoy-cucumber-0.1.100.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.1.100.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.1.100.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.1.100.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.1.100.5 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.1.99.23 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.0.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.0.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.0.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.0.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.0 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.2.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.2.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.3.1 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.3.2 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.3.3 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.3.4 features/cucumber_cli_diff_disabled.feature
aslakhellesoy-cucumber-0.2.3 features/cucumber_cli_diff_disabled.feature