Sha256: 631ce4aadfa6fd8b73c5dd53b250aca4db5ada1d966c8da005912d513e522637

Contents?: true

Size: 692 Bytes

Versions: 26

Compression:

Stored size: 692 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

26 entries across 26 versions & 1 rubygems

Version Path
cuke_modeler-2.1.0 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-2.0.0 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-1.5.1 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-1.5.0 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-1.4.0 testing/cucumber/features/modeling/tag_output.feature
cuke_modeler-1.3.0 testing/cucumber/features/modeling/tag_output.feature