cucumber-reactive-reporter 1.0.11 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -2
- package/dist/cucumber-reactive-reporter.cjs.js +534 -213
- package/dist/cucumber-reactive-reporter.esm.js +534 -213
- package/dist/package.json +4 -4
- package/dist/react/asset-manifest.json +38 -16
- package/dist/react/index.html +1 -1
- package/dist/react/static/css/main.css +6 -1
- package/dist/react/static/js/main.LICENSE.txt +79 -1
- package/dist/react/static/js/main.js +1 -1
- package/package.json +4 -4
- package/dist/react/.DS_Store +0 -0
- package/dist/react/precache-manifest.js +0 -182
- package/dist/react/service-worker.js +0 -39
- package/dist/react/static/css/2.css +0 -4
- package/dist/react/static/js/2.LICENSE.txt +0 -85
- package/dist/react/static/js/2.js +0 -2
- package/dist/react/static/js/runtime-main.js +0 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<b>Cucumber report library based on react-redux and @mui
|
|
4
4
|
Parses output of cucumberjs
|
|
5
|
-
provides filtering via tags
|
|
5
|
+
provides filtering via tags and status and few other things.</b>
|
|
6
6
|
<br>
|
|
7
7
|
### Why another reporter? ###
|
|
8
8
|
<b>The main motivation behind this project was the desire for a more dynamic experience as well as the need to get more control over various data attachments and how they are displayed.
|
|
@@ -29,7 +29,10 @@ $ npm install cucumber-reactive-reporter
|
|
|
29
29
|
import Reporter from "cucumber-reactive-reporter";
|
|
30
30
|
let options = {
|
|
31
31
|
"title": "Cucumber reactive reporter sample",
|
|
32
|
-
"description": "... test suite description"
|
|
32
|
+
"description": "... test suite description",
|
|
33
|
+
"inputFormat": "legacy-json",
|
|
34
|
+
"attachmentsEncoding": "auto",
|
|
35
|
+
"cucumberVersion": "12.5.0"
|
|
33
36
|
};
|
|
34
37
|
let metadata = {
|
|
35
38
|
"some key": "value",
|
|
@@ -47,6 +50,15 @@ options.linkTags = linkTags;
|
|
|
47
50
|
})();
|
|
48
51
|
```
|
|
49
52
|
|
|
53
|
+
### Options
|
|
54
|
+
|
|
55
|
+
- `inputFormat`: `legacy-json` (default) or `auto`.
|
|
56
|
+
- `attachmentsEncoding`: `auto` (default), `base64`, or `raw`.
|
|
57
|
+
- Use `raw` if your cucumber JSON stores text attachments unencoded.
|
|
58
|
+
- Use `base64` if text attachments are base64 encoded.
|
|
59
|
+
- `auto` decodes base64-looking text attachments.
|
|
60
|
+
- `cucumberVersion`: optional version hint to pick attachment decoding behavior.
|
|
61
|
+
|
|
50
62
|
### See sample in action:
|
|
51
63
|
[link](https://unsuspecting-noob.github.io/cucumber-reactive-reporter/index.html)
|
|
52
64
|
|