Sha256: 51797ba9ba80396be6c9c1a854b0f08a9da18eb338b5cf40fe3cfc758a0636ef

Contents?: true

Size: 1.64 KB

Versions: 33

Compression:

Stored size: 1.64 KB

Contents

Feature: Cucumber command line
  In order to find out what step definitions need to be implemented
  Developers should always see what step definition is missing

  Scenario: Get info at arbitrary levels of nesting
    When I run cucumber features/call_undefined_step_from_step_def.feature
    Then it should pass with
      """
      Feature: Calling undefined step

        Scenario: Call directly                                # features/call_undefined_step_from_step_def.feature:3
          Given a step definition that calls an undefined step # features/step_definitions/sample_steps.rb:19
            Undefined step: "this does not exist" (Cucumber::Undefined)
            ./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
            features/call_undefined_step_from_step_def.feature:4:in `Given a step definition that calls an undefined step'

        Scenario: Call via another                                         # features/call_undefined_step_from_step_def.feature:6
          Given call step "a step definition that calls an undefined step" # features/step_definitions/sample_steps.rb:23
            Undefined step: "this does not exist" (Cucumber::Undefined)
            ./features/step_definitions/sample_steps.rb:20:in `/^a step definition that calls an undefined step$/'
            features/call_undefined_step_from_step_def.feature:7:in `Given call step "a step definition that calls an undefined step"'

      2 scenarios
      2 undefined steps

      You can implement step definitions for missing steps with these snippets:

      Given /^this does not exist$/ do
        pending
      end


      """

Version data entries

33 entries across 33 versions & 5 rubygems

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