Sha256: 212616f29cd417b075673d0c79d896f8ca9402e137cd642e374fa7e3bf428a14

Contents?: true

Size: 658 Bytes

Versions: 5

Compression:

Stored size: 658 Bytes

Contents

Feature: Step output

  A step model's string output is a Gherkin representation of itself.


  Scenario: Outputting a step model

  Note: Outputting a step that has a doc string is accomplished in the same manner

    Given the following gherkin:
      """
      * a step
        |value1|
        |value2|
      """
    And a step model based on that gherkin
      """
        @model = CukeModeler::Step.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      * a step
        | value1 |
        | value2 |
      """

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-1.0.4 testing/cucumber/features/modeling/step_output.feature
cuke_modeler-1.0.3 testing/cucumber/features/modeling/step_output.feature
cuke_modeler-1.0.2 testing/cucumber/features/modeling/step_output.feature
cuke_modeler-1.0.1 features/modeling/step_output.feature
cuke_modeler-1.0.0 features/modeling/step_output.feature