Sha256: b722b2c70dae0b7c4c31bfa16908d1da8d586d9a4fbf2ddabd4ac1ceee265e88

Contents?: true

Size: 1.07 KB

Versions: 9

Compression:

Stored size: 1.07 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

9 entries across 9 versions & 1 rubygems

Version Path
cuke_modeler-1.2.1 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.2.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.1.1 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.1.0 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.0.4 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.0.3 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.0.2 testing/cucumber/features/analysis/test_comparison.feature
cuke_modeler-1.0.1 features/analysis/test_comparison.feature
cuke_modeler-1.0.0 features/analysis/test_comparison.feature