Sha256: c5535d7b1d492846bc80cdeb55b738b9135d54a5346bc5a1102d2c335aa8de0e

Contents?: true

Size: 802 Bytes

Versions: 61

Compression:

Stored size: 802 Bytes

Contents

Feature: Snippets
  In order to help speed up writing step definitions
  As a feature editor
  I want snippet suggestions for undefined step definitions

  Scenario: Snippet for undefined step with a pystring
    When I run cucumber features/undefined_multiline_args.feature:3 -s
    Then the output should contain
      """
      Given /^a pystring$/ do |string|
        pending # express the regexp above with the code you wish you had
      end
      """

  Scenario: Snippet for undefined step with a step table
    When I run cucumber features/undefined_multiline_args.feature:9 -s
    Then the output should contain
      """
      Given /^a table$/ do |table|
        # table is a Cucumber::Ast::Table
        pending # express the regexp above with the code you wish you had
      end
      """

Version data entries

61 entries across 59 versions & 11 rubygems

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