Sha256: d85f112443f5f7fd1d979ba1d319e51fe5da2b57d448f72d290a0564fa0612a8

Contents?: true

Size: 1.63 KB

Versions: 3

Compression:

Stored size: 1.63 KB

Contents

@gherkin4
Feature: Table Row elements can be modeled.


  Acceptance criteria

  1. All conceptual pieces of a table row can be modeled:
  - the row's source line
  - the row's cells
  - the row's raw element

  2. Rows can be outputted in a convenient form


  Background: Test file setup.
    Given the following feature file:
    """
    Feature:

      Scenario:
        * some data filled step:
          | value 1 | value 2 |
          | value 3 | value 4 |
        * some data filled step:
          | value 1 |
          | value 2 |
    """
    When the file is read


  Scenario: The raw table row element is modeled.
    Then the step table row correctly stores its underlying implementation

  Scenario: The table row's source line is modeled.
    Then step "1" table row "1" is found to have the following properties:
      | source_line | 5 |
    And step "1" table row "2" is found to have the following properties:
      | source_line | 6 |
    And step "2" table row "1" is found to have the following properties:
      | source_line | 8 |
    And step "2" table row "2" is found to have the following properties:
      | source_line | 9 |

  Scenario: The table row's cells are modeled.
    Then step "1" table row "1" cells are as follows:
      | value 1 |
      | value 2 |
    And step "1" table row "2" cells are as follows:
      | value 3 |
      | value 4 |
    And step "2" table row "1" cells are as follows:
      | value 1 |
    And step "2" table row "2" cells are as follows:
      | value 2 |

  Scenario: Convenient output of a table row
    Then the table row has convenient output

Version data entries

3 entries across 3 versions & 1 rubygems

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