Sha256: 78a4699832b3d87383c5400335bcd5cdf129a6ab9809a14a3a8cc5f72f74b421

Contents?: true

Size: 705 Bytes

Versions: 4

Compression:

Stored size: 705 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

4 entries across 4 versions & 1 rubygems

Version Path
cuke_modeler-1.2.1 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.2.0 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.1.1 testing/cucumber/features/modeling/row_output.feature
cuke_modeler-1.1.0 testing/cucumber/features/modeling/row_output.feature