Sha256: 2f82074d46a4f3d31e0f1ab476d81e0bf6375ad90adb62916537ab9dceb02268

Contents?: true

Size: 1.72 KB

Versions: 17

Compression:

Stored size: 1.72 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)
      2 steps (2 undefined)

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

      Given /^this does not exist$/ do
        pending # express the regexp above with the code you wish you had
      end


      """

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
davidtrogers-cucumber-0.6.2 features/report_called_undefined_steps.feature
cucumber-0.6.2 features/report_called_undefined_steps.feature
cucumber-0.6.1 features/report_called_undefined_steps.feature
cucumber-0.6.0 features/report_called_undefined_steps.feature
cucumber-0.5.3 features/report_called_undefined_steps.feature
cucumber-0.5.2 features/report_called_undefined_steps.feature
cucumber-0.5.1 features/report_called_undefined_steps.feature
cucumber-0.5.0 features/report_called_undefined_steps.feature
cucumber-0.4.5.rc2 features/report_called_undefined_steps.feature
kbaum-cucumber-0.4.5.pre features/report_called_undefined_steps.feature
cucumber-0.4.5.rc1 features/report_called_undefined_steps.feature
middleman-0.10.17 vendor/gems/gems/cucumber-0.4.4/features/report_called_undefined_steps.feature
middleman-0.10.16 vendor/gems/gems/cucumber-0.4.4/features/report_called_undefined_steps.feature
middleman-0.10.15 vendor/gems/gems/cucumber-0.4.4/features/report_called_undefined_steps.feature
rackjour-0.1.8 vendor/gems/gems/cucumber-0.4.4/features/report_called_undefined_steps.feature
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/features/report_called_undefined_steps.feature
cucumber-0.4.4 features/report_called_undefined_steps.feature