-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
111 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"type": "Background", | ||
"keyword": "Background", | ||
"name": "this is a background", | ||
"description": "this is a good\n background", | ||
"steps": [ | ||
] | ||
{ | ||
"type": "Background", | ||
"keyword": "Background", | ||
"name": "this is a background", | ||
"description": "this is a really good\n background", | ||
"steps": [ | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Background: this is a background | ||
this is a good | ||
Background: this is a background | ||
this is a really good | ||
background |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,56 @@ | ||
@tag1 @tag2 | ||
Feature: Hello world | ||
As a smth | ||
I want to do smth | ||
So that I am smth | ||
|
||
Background: | ||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step | ||
And this is a when step too | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tag2 @tag3 | ||
Scenario: Name of scenario | ||
Description of the scenario | ||
|
||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step with data table | ||
| val1 | | ||
| val2 | | ||
| val3 | | ||
And this is a when step with data table too | ||
| col1 | col2 | | ||
| val1 | val2 | | ||
| val3 | val4 | | ||
And this is a when step with doc string | ||
""" | ||
Hello world | ||
Hello World | ||
hello World | ||
hello world | ||
""" | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tag2 @tag(3) | ||
Scenario Outline: Name of background <key> | ||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step <key> | ||
And this is a when step too | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tagE1 | ||
Examples: First examples | ||
| key | | ||
| value1 | | ||
|
||
@tagE2 | ||
Examples: Second examples | ||
| key | | ||
@tag1 @tag2 | ||
Feature: Hello world | ||
As a someone | ||
I want to do smth | ||
So that I am smth | ||
|
||
Background: | ||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step | ||
And this is a when step too | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tag2 @tag3 | ||
Scenario: Name of scenario | ||
Description of the scenario | ||
|
||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step with data table | ||
| val1 | | ||
| val2 | | ||
| val3 | | ||
And this is a when step with data table too | ||
| col1 | col2 | | ||
| val1 | val2 | | ||
| val3 | val4 | | ||
And this is a when step with doc string | ||
""" | ||
Hello world | ||
Hello World | ||
hello World | ||
hello world | ||
""" | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tag2 @tag(3) | ||
Scenario Outline: Name of background <key> | ||
Given this is a given step | ||
And this is a given step too | ||
When this is a when step <key> | ||
And this is a when step too | ||
Then it should be a then step | ||
And it should be a then step too | ||
|
||
@tagE1 | ||
Examples: First examples | ||
| key | | ||
| value1 | | ||
|
||
@tagE2 | ||
Examples: Second examples | ||
| key | | ||
| value2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
{ | ||
"type": "Scenario", | ||
"keyword": "Scenario", | ||
"name": "this is a scenario", | ||
"description": "this is a good\n scenario", | ||
"tags": [ | ||
{ | ||
"type": "Tag", | ||
"name": "@tag1" | ||
}, | ||
{ | ||
"type": "Tag", | ||
"name": "@tag2" | ||
} | ||
], | ||
"steps": [ | ||
{ | ||
"type": "Step", | ||
"keyword": "Given ", | ||
"text": "this is a given step" | ||
}, | ||
{ | ||
"type": "Step", | ||
"keyword": "When ", | ||
"text": "this is a when step with docString", | ||
"argument": { | ||
"type": "DocString", | ||
"content": "Hello\nWorld" | ||
} | ||
}, | ||
{ | ||
"type": "Step", | ||
"keyword": "But ", | ||
"text": "this should not be a when step" | ||
} | ||
] | ||
{ | ||
"type": "Scenario", | ||
"keyword": "Scenario", | ||
"name": "this is a scenario", | ||
"description": "this is a really good\n scenario", | ||
"tags": [ | ||
{ | ||
"type": "Tag", | ||
"name": "@tag1" | ||
}, | ||
{ | ||
"type": "Tag", | ||
"name": "@tag2" | ||
} | ||
], | ||
"steps": [ | ||
{ | ||
"type": "Step", | ||
"keyword": "Given ", | ||
"text": "this is a given step" | ||
}, | ||
{ | ||
"type": "Step", | ||
"keyword": "When ", | ||
"text": "this is a when step with docString", | ||
"argument": { | ||
"type": "DocString", | ||
"content": "Hello\nWorld" | ||
} | ||
}, | ||
{ | ||
"type": "Step", | ||
"keyword": "But ", | ||
"text": "this should not be a when step" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
@tag1 @tag2 | ||
Scenario: this is a scenario | ||
this is a good | ||
scenario | ||
|
||
Given this is a given step | ||
When this is a when step with docString | ||
""" | ||
Hello | ||
World | ||
""" | ||
@tag1 @tag2 | ||
Scenario: this is a scenario | ||
this is a really good | ||
scenario | ||
Given this is a given step | ||
When this is a when step with docString | ||
""" | ||
Hello | ||
World | ||
""" | ||
But this should not be a when step |