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
Copy file name to clipboardExpand all lines: cucumber_cpp/acceptance_test/test.bats
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -176,3 +176,12 @@ teardown() {
176
176
assert_output --partial "skipped Given a given step"
177
177
assert_output --partial "tests : 0/1 passed"
178
178
}
179
+
180
+
181
+
@test "Test error program hook results in error and skipped steps" {
182
+
run .build/Host/cucumber_cpp/acceptance_test/Debug/cucumber_cpp.acceptance_test.custom run --feature cucumber_cpp/acceptance_test/features --tag "@smoke and @result:OK" --report console --required --failprogramhook
183
+
assert_failure
184
+
assert_output --partial "skipped Given a given step"
0 commit comments