Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions Examples/Gherkin/JustForReporting.Steps.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
Given "step_001" {
}

When "step_002" {
}

Then "step_003" {
}

Given "step_101" {
}

Given "and_101" {
}

When "step_102" {
}

When "and_102" {
}

Then "step_103" {
throw "An example error in the then clause"
}

Then "and_103" {
}

Given "step_201" {
}

Given "and_201" {
}

When "step_202" {
}

When "and_202" {
}

Then "step_203" {
}

Then "and_203" {
}

Given "step_301" {
}

When "step_302" {
}

Then "step_303" {
}

Then "step_304" {
throw "Another example error in the then clause"
}

Given "step_401" {
}

When "step_402" {
throw "An example error in the when clause"
}

Then "step_403" {
}

Given "step_701" {
throw "An example error in the given clause"
}

When "step_702" {
}

Then "step_703" {
}
32 changes: 32 additions & 0 deletions Examples/Gherkin/JustForReporting1.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Feature: A test feature for reporting 1

Scenario: Scenario 1

Given step_001
When step_002
Then step_003

Scenario Outline: Scenario 2

Given step_<given>
And and_<given>
When step_<when>
And and_<when>
Then step_<then>
And and_<then>

Examples: Examples 1
| given | when | then |
| 101 | 102 | 103 |

Examples: Examples 2
| given | when | then |
| 201 | 202 | 203 |

Scenario: Scenario 3

Given step_301
When step_302
Then step_303
When step_302
Then step_304
27 changes: 27 additions & 0 deletions Examples/Gherkin/JustForReporting2.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Feature: A test feature for reporting 2

Scenario: Scenario 4

Given step_401
When step_402
Then step_403

Scenario Outline: Scenario 5

Given step_<given>
When step_<when>
Then step_<then>

Examples: Examples 1
| given | when | then |
| 501 | 502 | 503 |

Examples: Examples 2
| given | when | then |
| 601 | 602 | 603 |

Examples: Examples 3
| given | when | then |
| 701 | 702 | 703 |
| 801 | 802 | 803 |
| 901 | 902 | 903 |
Loading