Sha256: a15f715d3024673f11a5f1ef88379d096f136e18bbdd059a81e3cb01ba704ca1

Contents?: true

Size: 1.24 KB

Versions: 5

Compression:

Stored size: 1.24 KB

Contents

@gherkin3
Feature: Tag elements can be modeled.


  Acceptance criteria

    1. All conceptual pieces of a tag can be modeled:
      - the tag's name
      - the tags's source line
      - the tags's raw element

    2. Features can be outputted in a convenient form


  Background: Test file setup.
    Given the following feature file:
    """
    @feature_tag
    Feature:

      @outline_tag
      Scenario Outline:
        * a step

      @example_tag
      Examples:
        | a param |
        | a value |
    """
    When the file is read


  Scenario: The raw tag element is modeled.
    Then the feature tag correctly stores its underlying implementation
    And the test tag correctly stores its underlying implementation
    And the example tag correctly stores its underlying implementation

  Scenario: The tag's source line is modeled.
    Then the feature tag source line "1"
    And the test tag source line "4"
    And the example tag source line "8"

  Scenario: The tag name is modeled.
    Then the feature tag name is "@feature_tag"
    And the test tag name is "@outline_tag"
    And the example tag name is "@example_tag"

  Scenario: Convenient output of a tag
    Then the tag has convenient output

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cuke_modeler-0.4.1 features/modeling/gherkin3/tag_modeling.feature
cuke_modeler-0.4.0 features/modeling/gherkin3/tag_modeling.feature
cuke_modeler-0.3.0 features/modeling/gherkin3/tag_modeling.feature
cuke_modeler-0.2.0 features/modeling/gherkin3/tag_modeling.feature
cuke_modeler-0.1.0 features/modeling/gherkin3/tag_modeling.feature