Sha256: dc2bf8be7cf451a0fa1a283d867fddfbec6d1af3880979b9e96784df0b0822f2

Contents?: true

Size: 1.78 KB

Versions: 7

Compression:

Stored size: 1.78 KB

Contents

Feature: Feature Page
  In order to view a feature and its intent
  As a stakeholder
  I want a page that displays the feature's name, free-form narrative and scenario titles

  Scenario: Content
    Given a feature file named "sample.feature" with the contents:
    """
    Feature: Sample Feature
      In order to get some value
      As a person
      I want to create value
     """
    When I visit the sample feature page
    Then I should see the feature free-form narrative

  Scenario: Tags
    Given a feature file named "sample.feature" with the contents:
    """
    @sample_tag
    Feature: Sample Feature
    """
    When I visit the sample feature page
    Then I should see "sample_tag"

 Scenario: Scenario Links
    Given a feature file named "sample.feature" with the contents:
    """
    Feature: Sample Feature
      In order to get some value
      As a person
      I want to create value

    Scenario: Sample Aidy
      Given my name is "Aidy"
      When I drink alcohol
      Then I go nuts

    Scenario: Sample Andrew
      Given my name is 'Andrew'
      When I drink alcohol
      Then I go happy
     """
    When I visit the sample feature page
    Then I should see Scenario headers as links

  Scenario: Sort Scenario Links in Alphabetical Order
    Given a feature file named "sample.feature" with the contents:
    """
    Feature: Sample Feature
      Scenario: V
      Scenario: C
      Scenario: I
      Scenario: N
    """
    When I visit the sample feature page
    Then the scenario links are sorted

  Scenario: Scenario Tags
    Given a feature file named "sample.feature" with the contents:
    """
    Feature: Sample Feature

    @tag1 @tag2
    Scenario: Sample Aidy
    """
    When I visit the sample feature page
    Then I should see "tag1"
    And I should see "tag2"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wally-0.0.40 features/feature_page.feature
wally-0.0.39 features/feature_page.feature
wally-0.0.38 features/feature_page.feature
wally-0.0.37 features/feature_page.feature
wally-0.0.36 features/feature_page.feature
wally-0.0.35 features/feature_page.feature
wally-0.0.34 features/feature_page.feature