Sha256: 91c8537bef46b4763f8866bd10445dce7b0979d7a3a390b1cb5432f2f7922216

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

@gherkin
Feature: Outputting step elements

  The output of an element model is a representation of the element as it would
  appear in gherkin.


  Scenario: Output of a step without a block
    Given a step element based on the following gherkin:
    """
    * a step
    """
    When it is outputted
    Then the following text is provided:
    """
    * a step
    """

  Scenario: Output of a step with a doc string
    Given a step element based on the following gherkin:
    """
    * a step
    \"\"\"
    Some text

      some more text
    \"\"\"
    """
    When it is outputted
    Then the following text is provided:
    """
    * a step
      \"\"\"
      Some text
      
        some more text
      \"\"\"
    """

  Scenario: Output of a step with a table
    Given a step element based on the following gherkin:
    """
    * a step
    |value1|
    |value2|
    """
    When it is outputted
    Then the following text is provided:
    """
    * a step
      | value1 |
      | value2 |
    """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 features/modeling/gherkin/step_output.feature
cuke_modeler-0.4.0 features/modeling/gherkin/step_output.feature
cuke_modeler-0.3.0 features/modeling/gherkin/step_output.feature
cuke_modeler-0.2.0 features/modeling/gherkin/step_output.feature
cuke_modeler-0.1.0 features/modeling/gherkin/step_output.feature