Sha256: 34f91786b839d85e3dc8b890f1d1d43c3412363e3f8c0d95edb172c11011d88a

Contents?: true

Size: 695 Bytes

Versions: 2

Compression:

Stored size: 695 Bytes

Contents

Feature: Tag output

  A tag model's string output is a Gherkin representation of itself. As such, output from a tag model can be used as
  input for the same kind of model.


  Scenario: Outputting a tag model
    Given the following gherkin:
      """
      @a_tag
      """
    And a tag model based on that gherkin
      """
        @model = CukeModeler::Tag.new(<source_text>)
      """
    When the model is output as a string
      """
        @model.to_s
      """
    Then the following text is provided:
      """
      @a_tag
      """
    And the output can be used to make an equivalent model
      """
        CukeModeler::Tag.new(@model.to_s)
      """

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cuke_modeler-1.2.1 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-1.2.0 testing/cucumber/features/modeling/tag_output.feature