Sha256: 207e228f95e18b22d16a147994951fc68fbb4a48c75f9184cb90525341e6fb1c

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

@gherkin4
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

3 entries across 3 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 features/modeling/gherkin4/step_output.feature
cuke_modeler-0.4.0 features/modeling/gherkin4/step_output.feature
cuke_modeler-0.3.0 features/modeling/gherkin4/step_output.feature