Add Gherkin language test(s)

This commit is contained in:
Joe Hansche 2015-08-04 13:26:41 -04:00
parent b13fa00d98
commit 8ac29a3fcf
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,10 @@
Feature: Description
Scenario Outline: This one will have examples
Given the <given>
Then the <then>
Examples:
| what | then |
| first value | first then |
| second what value | second then value |

View File

@ -0,0 +1,23 @@
Feature: The description of the feature that
might need to be wrapped
onto multiple lines
Scenario: The description of the scenario that
might need to be wrapped
onto multiple lines
Given I am in some state
When I take some action
# And I can add a comment
Then I should see some outcome
# A comment gets moved above the tag
@tag1
Scenario: This scenario has a tag
Then I should see some outcome
@tag1 @tag2
Scenario: This scenario has two tags
Then I should see some outcome
Scenario: This scenario does not have any tags
Then I should see some outcome

View File

@ -0,0 +1,9 @@
Feature: Description
Scenario Outline: This one will have examples
Given the <given>
Then the <then>
Examples:
| what | then |
| first value | first then|
| second what|second then|

View File

@ -0,0 +1,23 @@
Feature: The description of the feature that
might need to be wrapped
onto multiple lines
Scenario: The description of the scenario that
might need to be wrapped
onto multiple lines
Given I am in some state
When I take some action
# And I can add a comment
Then I should see some outcome
@tag1
# A comment gets moved above the tag
Scenario: This scenario has a tag
Then I should see some outcome
@tag1 @tag2
Scenario: This scenario has two tags
Then I should see some outcome
Scenario: This scenario does not have any tags
Then I should see some outcome