Sha256: bd879c1885e42e6cccdadd2dd47ea9ee43fae759f38b40e95456b7b3cdf8d9d3

Contents?: true

Size: 1.04 KB

Versions: 27

Compression:

Stored size: 1.04 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 their steps match (see step comparison). Properties that do not affect what a test *does* (e.g. name, description, tags) 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

27 entries across 27 versions & 1 rubygems

Version Path
cuke_modeler-3.23.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.22.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.21.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.20.1 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.20.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.19.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.18.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.17.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.16.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.15.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.14.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.13.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.12.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.11.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.10.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.9.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.8.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.7.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.6.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-3.5.0 testing/cucumber/features/analysis/test_comparison.feature