UNPKG

cucumber-html-report

Version:

Convert cucumber json reports to a pretty html report.

232 lines 7.55 kB
[ { "description": " As a cucumber user\n I want to generate HTML reports from cucumber JSON report files\n So that I can get a better overview of my specifications", "elements": [ { "id": "report-generator;generate-report-having-a-failing-after-step", "keyword": "Scenario", "line": 6, "name": "Generate report having a failing After step", "steps": [ { "arguments": [], "keyword": "Before ", "result": { "status": "passed", "duration": 5310037 }, "hidden": true, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:15" } }, { "arguments": [], "keyword": "Given ", "name": "a JSON file generated by cucumber", "result": { "status": "passed", "duration": 1132441 }, "line": 7, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:29" } }, { "arguments": [], "keyword": "And ", "name": "the destination directory is set to \"reports\"", "result": { "status": "passed", "duration": 177000 }, "line": 8, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:35" } }, { "arguments": [], "keyword": "And ", "name": "no template is provided", "result": { "status": "passed", "duration": 1115858 }, "line": 9, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:40" } }, { "arguments": [], "keyword": "When ", "name": "I run the report generator", "result": { "status": "passed", "duration": 33833008 }, "line": 10, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:56" } }, { "arguments": [], "keyword": "Then ", "name": "I should get a HTML report in the \"reports\" directory", "result": { "status": "passed", "duration": 526449 }, "line": 11, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:61" } }, { "arguments": [], "keyword": "After ", "result": { "status": "failed", "duration": 1186947, "error_message": "Error: Console errors" }, "hidden": true, "embeddings": [ { "data": "T3BlcmF0aW5nIFN5c3RlbSBQbGF0Zm9ybTogZGFyd2lu", "mime_type": "text/plain" }, { "data": "T3BlcmF0aW5nIFN5c3RlbSBSZWxlYXNlIFZlcnNpb24gMTUuNS4w", "mime_type": "text/plain" } ], "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:22" } } ], "tags": [], "type": "scenario" }, { "id": "report-generator;generate-report-without-a-failing-after-step", "keyword": "Scenario", "line": 6, "name": "Generate report without a failing After step", "steps": [ { "arguments": [], "keyword": "Before ", "result": { "status": "passed", "duration": 5310037 }, "hidden": true, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:15" } }, { "arguments": [], "keyword": "Given ", "name": "a JSON file generated by cucumber", "result": { "status": "passed", "duration": 1132441 }, "line": 7, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:29" } }, { "arguments": [], "keyword": "And ", "name": "the destination directory is set to \"reports\"", "result": { "status": "passed", "duration": 177000 }, "line": 8, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:35" } }, { "arguments": [], "keyword": "And ", "name": "no template is provided", "result": { "status": "passed", "duration": 1115858 }, "line": 9, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:40" } }, { "arguments": [], "keyword": "When ", "name": "I run the report generator", "result": { "status": "passed", "duration": 33833008 }, "line": 10, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:56" } }, { "arguments": [], "keyword": "Then ", "name": "I should get a HTML report in the \"reports\" directory", "result": { "status": "passed", "duration": 526449 }, "line": 11, "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:61" } }, { "arguments": [], "keyword": "After ", "result": { "status": "passed", "duration": 1186947 }, "hidden": true, "embeddings": [ { "data": "T3BlcmF0aW5nIFN5c3RlbSBQbGF0Zm9ybTogZGFyd2lu", "mime_type": "text/plain" }, { "data": "T3BlcmF0aW5nIFN5c3RlbSBSZWxlYXNlIFZlcnNpb24gMTUuNS4w", "mime_type": "text/plain" } ], "match": { "location": "/Users/username/dev/cws/cucumber-html-report/features/step_definitions/report.steps.js:22" } } ], "tags": [], "type": "scenario" } ], "id": "report-summary-module", "keyword": "Feature", "line": 1, "name": "Report Summary module", "tags": [], "uri": "/Users/username/dev/cws/cucumber-html-report/features/summary.feature" } ]