Sha256: 9d69977b4176168b93a1fec2fb33d622d98b087ad04e50b3bfdea723ec56e8bf

Contents?: true

Size: 1014 Bytes

Versions: 3

Compression:

Stored size: 1014 Bytes

Contents

@gherkin4
Feature: Outputting table elements

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


  Scenario: Output of a table that has one row
    Given a table element based on the following gherkin:
    """
    |value|
    """
    When it is outputted
    Then the following text is provided:
    """
    | value |
    """

  Scenario: Output of a table that has multiple rows
    Given a table element based on the following gherkin:
    """
    |value1|
    |value2|
    """
    When it is outputted
    Then the following text is provided:
    """
    | value1 |
    | value2 |
    """

  Scenario: Whitespace buffers are based on the longest value in a column
    Given a table element based on the following gherkin:
    """
    |value|x|
    |y|another_value|
    """
    When it is outputted
    Then the following text is provided:
    """
    | value | x             |
    | y     | another_value |
    """

Version data entries

3 entries across 3 versions & 1 rubygems

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