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: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Behat Cucumber Json Formatter
1
+
# Behat Cucumber Json Formatter
2
2
3
3
*Note*: this is a fork of [Vanare/behat-cucumber-formatter](https://github.com/Vanare/behat-cucumber-formatter). As the original project seems unmaintained and there is no possibility to contact the owner, I publish the library under my handle. Many thanks to the original team of Vanare for starting this great library!
4
4
@@ -27,6 +27,7 @@ default:
27
27
extensions:
28
28
Vanare\BehatCucumberJsonFormatter\Extension:
29
29
fileNamePrefix: report
30
+
resultFilePerSuite: true
30
31
outputDir: %paths.base%/build/tests
31
32
```
32
33
@@ -41,7 +42,10 @@ bin/behat -f cucumber_json
41
42
-`fileNamePrefix`: Filename prefix of generated report
42
43
-`outputDir`: Generated report will be placed in this directory
43
44
-`fileName`_(optional)_: Filename of generated report - current feature name will be used by default.
45
+
Only applicable when `resultFilePerSuite` is not enabled.
46
+
-`resultFilePerSuite`_(optional)_: The default behaviour is to generate a single report named `all.json`.
47
+
If this option is set to `true`, a report will be created per behat suite.
0 commit comments