Sha256: fcf4dba1450235473e936e039a9a39a9092fbafdd3d41cb35a861c348c3e2226

Contents?: true

Size: 1.72 KB

Versions: 76

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: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/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

76 entries across 74 versions & 11 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
casecumber-1.0.2.1 legacy_features/report_called_undefined_steps.feature
casecumber-1.2.1.cb2 legacy_features/report_called_undefined_steps.feature
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/legacy_features/report_called_undefined_steps.feature
cucumber-1.2.1 legacy_features/report_called_undefined_steps.feature
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/legacy_features/report_called_undefined_steps.feature
cucumber-1.2.0 legacy_features/report_called_undefined_steps.feature
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/legacy_features/report_called_undefined_steps.feature