Sha256: 04c43b557e53f51677408a3a973dacb2e439762c3933e266d9f5bc2ff6c473f0

Contents?: true

Size: 702 Bytes

Versions: 26

Compression:

Stored size: 702 Bytes

Contents

Feature: Row output

  A row model's string output is a Gherkin representation of itself. As such, output from a row model can be used as input for the same kind of model.


  Scenario: Outputting a row model
    Given the following gherkin:
      """
      |foo|bar|
      """
    And a row model based on that gherkin
      """
        @model = CukeModeler::Row.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      | foo | bar |
      """
    And the output can be used to make an equivalent model
      """
        CukeModeler::Row.new(@model.to_s)
      """

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
cuke_modeler-2.1.0 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-2.0.0 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.5.1 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.5.0 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.4.0 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.3.0 testing/cucumber/features/modeling/row_output.feature