You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: follow the Gherkin standard by not differentiating between step types (#199)
Previously a each type of step definition (`Given`, `When` and `Then`) was given its own category. That means the following steps were considered different:
```cpp
GIVEN("I am different"){}
When("I am different"){}
Then("I am different"){}
```
With this change the above are now considered duplicate steps and they'll result in an ambiguous error. This is considered a breaking change.
Copy file name to clipboardExpand all lines: cucumber_cpp/acceptance_test/test.bats
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ teardown() {
30
30
run .build/Host/cucumber_cpp/acceptance_test/Debug/cucumber_cpp.acceptance_test run --tag "@result:UNDEFINED" --feature cucumber_cpp/acceptance_test/features --report console
assert_output --partial "skipped Then a then step"
33
+
assert_output --partial "skipped Then this should be skipped"
34
34
}
35
35
36
36
@test "No tests" {
@@ -127,7 +127,7 @@ teardown() {
127
127
run .build/Host/cucumber_cpp/acceptance_test/Debug/cucumber_cpp.acceptance_test run --feature cucumber_cpp/acceptance_test/features --tag "@result:UNDEFINED" --report console --dry
0 commit comments