Sha256: 76f3da7c31e28a4f0059408613dd3546e7df1a47d402739b65da3a0003801d62

Contents?: true

Size: 1.8 KB

Versions: 21

Compression:

Stored size: 1.8 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:19: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:19:in `/^a step definition that calls an undefined step$/'
            ./features/step_definitions/sample_steps.rb:24:in `/^call 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

21 entries across 21 versions & 1 rubygems

Version Path
cucumber-1.3.20 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.19 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.18 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.17 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.16 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.15 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.14 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.13 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.12 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.11 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.10 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.9 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.8 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.7 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.6 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.5 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.4 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.3 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.2 legacy_features/report_called_undefined_steps.feature
cucumber-1.3.1 legacy_features/report_called_undefined_steps.feature