Sha256: 65e7d411a056bdd63c10b800795ccf0c290ad96337cbae4cfacd3ceeefd6afcf

Contents?: true

Size: 966 Bytes

Versions: 5

Compression:

Stored size: 966 Bytes

Contents

Feature: Background output

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


  Scenario: Outputting a background model
    Given the following gherkin:
      """
      Background: A background with everything that it could have

      Including a description
      and then some.

      * a step
      |value|
      * another step
      \"\"\"
        some string
      \"\"\"
      """
    And a background model based on that gherkin
      """
        @model = CukeModeler::Background.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      Background: A background 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/background_output.feature
cuke_modeler-1.0.3 testing/cucumber/features/modeling/background_output.feature
cuke_modeler-1.0.2 testing/cucumber/features/modeling/background_output.feature
cuke_modeler-1.0.1 features/modeling/background_output.feature
cuke_modeler-1.0.0 features/modeling/background_output.feature