Sha256: db420ff6ba27d4ffadf1d18c0e832e3ed44373a4bba4e26645a4f17d4085bc7a

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

Feature: Test comparison

  Gherkin elements that contain steps (i.e. backgrounds, scenarios, and outlines) can be compared with one another in order to determine equality. Elements are considered equal if the base text of their steps match. That is, the keyword used for the step and any table or doc string that may be associated with that step are ignored for the purposes of comparison.


  Scenario: Comparing tests
    Given a model for the following background:
      """
      Background:
        * step 1
        * step 2
      """
    And a model for the following scenario:
      """
      Scenario:
        * step 1
        * step 2
      """
    And a model for the following outline:
      """
      Scenario Outline:
        * step 1
        * step 2
      Examples:
        | param |
        | value |
      """
    When the models are compared
    Then all of them are equivalent
    But none of the models are equivalent with a model for the following scenario:
      """
      Scenario:
        * step 1
        * step 3
      """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cuke_modeler-1.5.1 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.5.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.4.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.3.0 testing/cucumber/features/analysis/test_comparison.feature