Sha256: 05b02308a5d55330f5748a4f35d0caceb3afcf1b1f4c307f3d48e0a87695c6e1

Contents?: true

Size: 1.23 KB

Versions: 14

Compression:

Stored size: 1.23 KB

Contents

Feature: Gherkin Steps parser
  In order to save time and make my features clearer
  As a Cucumber developer
  I want a steps parser to make writing compound steps easier

  Background:
    Given a "en", "ruby" "steps" parser
    
  Scenario: Parsing steps
    Given the following text is parsed:
      """
      Given a one step
      And a two step
        \"\"\"
        Here is a multiline string
        That follows a step
        With an argument #{arg}
        \"\"\"
      And a one two three step
      When another step
      Then there should be a table
        | one | two | three  |
        | foo | bar | #{arg} |
      """
    Then there should be no parse errors
    
  Scenario: Trying to parse a full feature with the step parser
    Given the following text is parsed:
      """
      Feature: A Feature
        Scenario: Yes, there is one
          Given I have a step
          When I execute this step
          Then something should happen
      """
    Then there should be parse errors on lines 1 and 2
    
  Scenario: Tags
    Given the following text is parsed:
      """
      @a_tag
      Given a step
      When I trip
      Then I should sign up for dancing lessons
      """
    Then there should be a parse error on line 1

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gherkin-1.0.1-i386-mswin32 features/steps_parser.feature
gherkin-1.0.1-i386-mingw32 features/steps_parser.feature
gherkin-1.0.1-universal-java-1.5 features/steps_parser.feature
gherkin-1.0.1 features/steps_parser.feature
gherkin-1.0.0-i386-mingw32 features/steps_parser.feature
gherkin-1.0.0-i386-mswin32 features/steps_parser.feature
gherkin-1.0.0-universal-java-1.5 features/steps_parser.feature
gherkin-1.0.0 features/steps_parser.feature
gherkin-0.0.4-universal-java-1.5 features/steps_parser.feature
gherkin-0.0.4-i386-mswin32 features/steps_parser.feature
gherkin-0.0.4-i386-mingw32 features/steps_parser.feature
gherkin-0.0.4 features/steps_parser.feature
gherkin-0.0.3-universal-java-1.5 features/steps_parser.feature
gherkin-0.0.3 features/steps_parser.feature