Sha256: eeb26844de19f9a0691f254ab4d5a399a4628749e4f785e4d82b505fc5de4d53

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

Feature: Tag elements can be modeled.


  Acceptance criteria

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


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

      @outline_tag
      Scenario Outline:
        * a step

      @example_tag
      Examples:
        | a param |
    """
    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 Outline: Tag models pass all other specifications
  Exact specifications detailing the API for Tag models.
    Given that there are "<additional specifications>" detailing models
    When the corresponding specifications are run
    Then all of those specifications are met
  Examples:
    | additional specifications |
    | tag_unit_spec.rb          |
    | tag_integration_spec.rb   |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumber_analytics-1.4.2 features/modeling/tag_modeling.feature
cucumber_analytics-1.4.1 features/modeling/tag_modeling.feature
cucumber_analytics-1.4.0 features/modeling/tag_modeling.feature
cucumber_analytics-1.3.0 features/modeling/tag_modeling.feature