Skip to content

Commit 211b68c

Browse files
committed
add failing scenario
1 parent 847f613 commit 211b68c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

features/gherkin_parse_failure.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,13 @@ Feature: Gherkin parse failure
4343
| pickle | 1 |
4444
| parseError | 2 |
4545

46+
Scenario: Formatters handle the truncated test run
47+
Given a file named "features/a.feature" with:
48+
"""
49+
Feature: a feature name
50+
Scenario: a scenario name
51+
Given a step
52+
Parse Error
53+
"""
54+
When I run cucumber-js with all formatters
55+
Then it fails

0 commit comments

Comments
 (0)