Add Gherkin language test(s)
This commit is contained in:
parent
b13fa00d98
commit
8ac29a3fcf
|
@ -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 |
|
|
@ -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
|
|
@ -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|
|
|
@ -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
|
Loading…
Reference in New Issue