Sha256: 626941331e6cd3a0f7afdcef951d24ebe20d400cd0f2c4f7ca4702cc3ab9e6d8

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

Feature: Doc string elements can be modeled.


  Acceptance criteria

    1. All conceptual pieces of a doc string can be modeled:
      - the doc string's content type
      - the doc string's contents
      - the doc string's raw element

    2. Doc string can be outputted in a convenient form


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

      Scenario:
        * some wordy step:
        \"\"\" content type
      some text
          
            some more text
        
        \"\"\"
        * some wordy step:
        \"\"\"
        \"\"\"
    """
    When the file is read


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

  Scenario: The doc string's content type is modeled.
    Then the step "1" doc string content type is "content type"
    And the step "2" doc string has no content type

  Scenario: The doc string's contents are modeled.
    Then the step "1" doc string has the following contents:
      """
      some text
        
          some more text
      
      """
    And the step "2" doc string contents are empty

  Scenario: Convenient output of an a doc string
    Then the doc string has convenient output

  Scenario Outline: Doc string models pass all other specifications
  Exact specifications detailing the API for doc string 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      |
    | doc_string_unit_spec.rb        |
    | doc_string_integration_spec.rb |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber_analytics-1.5.0 features/modeling/doc_string_modeling.feature