Sha256: ed20490b6f54f550baa7d5dd5fa36ba248b85ccf083f24c8016c09f625ebfcf3

Contents?: true

Size: 1004 Bytes

Versions: 5

Compression:

Stored size: 1004 Bytes

Contents

Feature: Scenario output

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


  Scenario: Outputting a scenario model
    Given the following gherkin:
      """
      @tag1@tag2
      @tag3
      Scenario: A scenario with everything that it could have

      Including a description
      and then some.

      * a step
      |value|
      * another step
      \"\"\"
        some string
      \"\"\"
      """
    And a scenario model based on that gherkin
      """
        @model = CukeModeler::Scenario.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      @tag1 @tag2 @tag3
      Scenario: A scenario with everything that it could have

      Including a description
      and then some.

        * a step
          | value |
        * another step
          \"\"\"
            some string
          \"\"\"
      """

Version data entries

5 entries across 5 versions & 1 rubygems

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