Sha256: ddac211cf1cda37b27f21f15e6002cde0e9c4a83aae044fbe4d702a1cbb2aba1

Contents?: true

Size: 1013 Bytes

Versions: 5

Compression:

Stored size: 1013 Bytes

Contents

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

5 entries across 5 versions & 1 rubygems

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