Sha256: bbf69d25c6acea6ea66cb66e38b385d6af6b91ec206f0c917ee933239ef90327
Contents?: true
Size: 1.45 KB
Versions: 11
Compression:
Stored size: 1.45 KB
Contents
Feature: Tag modeling Tag models represent a tag portion of a feature. They expose several attributes of the tag that they represent. Background: Given the following gherkin: """ @a_tag """ And a tag model based on that gherkin """ @model = CukeModeler::Tag.new(<source_text>) """ Scenario: Modeling a tag's name When the tag's name is requested """ @model.name """ Then the model returns "@a_tag" Scenario: Modeling a tag's source line Given the following gherkin: """ @a_tag Feature: """ And a feature model based on that gherkin """ @model = CukeModeler::Feature.new(<source_text>) """ And the tag model of that feature model """ @model = @model.tags.first """ When the tag's source line is requested """ @model.source_line """ Then the model returns "1" Scenario: Modeling a tag's source column Given the following gherkin: """ @a_tag Feature: """ And a feature model based on that gherkin """ @model = CukeModeler::Feature.new(<source_text>) """ And the tag model of that feature model """ @model = @model.tags.first """ When the tag's source column is requested """ @model.source_column """ Then the model returns "1"
Version data entries
11 entries across 11 versions & 1 rubygems