Sha256: bcccb26986cc1c5f687e89d676a74d514a6e8136b189f9673d26cd4a79d51df4

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

@gherkin3
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/gherkin3/step_output.feature
cuke_modeler-0.4.0 features/modeling/gherkin3/step_output.feature
cuke_modeler-0.3.0 features/modeling/gherkin3/step_output.feature
cuke_modeler-0.2.0 features/modeling/gherkin3/step_output.feature
cuke_modeler-0.1.0 features/modeling/gherkin3/step_output.feature