Sha256: 5b15656371a4de8337db0479597fca3137baaaab8f6000e63081d29c833acdd3

Contents?: true

Size: 1.1 KB

Versions: 27

Compression:

Stored size: 1.1 KB

Contents

Feature: Use * keywords and still get snippets
  In order to make it possible to use * instead of
  Given/When/Then, I should not get an exception
  when I have undefined steps

  Scenario: Use some *
    Given a standard Cucumber project directory structure
    And a file named "features/f.feature" with:
      """
      Feature: F
        Scenario: S
          * I have some cukes
      """
    When I run cucumber features/f.feature
    Then STDERR should be empty
    And it should pass with
      """
      Feature: F

        Scenario: S           # features/f.feature:2
          * I have some cukes # features/f.feature:3
      
      1 scenario (1 undefined)
      1 step (1 undefined)
      
      You can implement step definitions for undefined steps with these snippets:
      
      Given /^I have some cukes$/ do
        pending # express the regexp above with the code you wish you had
      end
      
      If you want snippets in a different programming language,
      just make sure a file with the appropriate file extension
      exists where cucumber looks for step definitions.

      
      """

Version data entries

27 entries across 25 versions & 8 rubygems

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