Sha256: 9c88431fe259d277838ec6372ccb8320ef4fd476cfd030c08d70c42e4982f40e

Contents?: true

Size: 1.71 KB

Versions: 5

Compression:

Stored size: 1.71 KB

Contents

@gherkin3
Feature: Background elements can be modeled.


  Acceptance criteria

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

    2. Backgrounds can be outputted in a convenient form

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

      Background: Some general test setup stuff.
            
        Some background description.
    
      Some more.
          Even more.

        Given a setup step
        And another setup step
        When an action step
    """
    And parameter delimiters of "*" and "*"
    When the file is read


  Scenario: The raw background element is modeled.
    Then the background correctly stores its underlying implementation

  Scenario: The background source line is modeled.
    Then the background is found to have the following properties:
      | source_line | 3 |

  Scenario: The background name is modeled.
    Then the background is found to have the following properties:
      | name | Some general test setup stuff. |

  Scenario: The background description is modeled.
    Then the background has the following description:
      """
          Some background description.

        Some more.
            Even more.
      """

  Scenario: The background steps are modeled.
    Then the background's steps are as follows:
      | a setup step       |
      | another setup step |
      | an action step     |

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

Version data entries

5 entries across 5 versions & 1 rubygems

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