Sha256: 18419b0e7eb5fb069b8a8d6c1418ac3f42e3a436dfe545d0ae1dee8adfcae280

Contents?: true

Size: 1.09 KB

Versions: 16

Compression:

Stored size: 1.09 KB

Contents

Feature: Print snippets
  In order to make it easier to implement step definitions
  Developers should get a scaffolding for undefined step definitions
  
  Scenario: Cucumber doesn't know what language, and defaults to Ruby
    Given a standard Cucumber project directory structure
    And a file named "features/x.feature" with:
      """
      Feature: X
        Scenario: Y
          Given Z
          Given Q
      """
    When I run cucumber features
    Then STDERR should be empty
    And it should pass with
      """
      Feature: X

        Scenario: Y # features/x.feature:2
          Given Z   # features/x.feature:3
          Given Q   # features/x.feature:4

      1 scenario (1 undefined)
      2 steps (2 undefined)

      You can implement step definitions for undefined steps with these snippets:
      
      Given /^Z$/ do
        pending
      end

      Given /^Q$/ do
        pending
      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

16 entries across 16 versions & 3 rubygems

Version Path
aslakhellesoy-cucumber-0.3.101.2 features/default_snippets.feature
aslakhellesoy-cucumber-0.3.102.1 features/default_snippets.feature
aslakhellesoy-cucumber-0.3.102.2 features/default_snippets.feature
aslakhellesoy-cucumber-0.3.102 features/default_snippets.feature
aslakhellesoy-cucumber-0.3.103 features/default_snippets.feature
aslakhellesoy-cucumber-0.3.104 features/default_snippets.feature
kosmas58-cucumber-0.3.102 features/default_snippets.feature
kosmas58-cucumber-0.3.103 features/default_snippets.feature
cucumber-0.4.3 features/default_snippets.feature
cucumber-0.4.2 features/default_snippets.feature
cucumber-0.4.1 features/default_snippets.feature
cucumber-0.4.0 features/default_snippets.feature
cucumber-0.4.0.rc1 features/default_snippets.feature
cucumber-0.3.104 features/default_snippets.feature
cucumber-0.3.103 features/default_snippets.feature
cucumber-0.3.102 features/default_snippets.feature