Sha256: 3c0c204871e5dd541df9787779e6a2071da3e631b5a951a141e58b681711fee0

Contents?: true

Size: 1.37 KB

Versions: 5

Compression:

Stored size: 1.37 KB

Contents

Feature: Outline output

  An outline model's string output is a Gherkin representation of itself.


  Scenario: Outputting an outline model
    Given the following gherkin:
      """
      @tag1@tag2
      @tag3
      Scenario Outline: An outline with everything that it could have

      Some description.
      Some more description.

      * a step
      |value|
      * a <value> step
      \"\"\"
        some string
      \"\"\"

      Examples:
      Some description.
      Some more description.
      | value |
      | x     |
      @example_tag

      Examples:
      | value |
      | y     |
      """
    And an outline model based on that gherkin
      """
        @model = CukeModeler::Outline.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      @tag1 @tag2 @tag3
      Scenario Outline: An outline with everything that it could have

      Some description.
      Some more description.

        * a step
          | value |
        * a <value> step
          \"\"\"
            some string
          \"\"\"

      Examples:

      Some description.
      Some more description.

        | value |
        | x     |

      @example_tag
      Examples:
        | value |
        | y     |
      """

Version data entries

5 entries across 5 versions & 1 rubygems

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