cucumber-html-report
Version:
Convert cucumber json reports to a pretty html report.
152 lines • 4.89 kB
JSON
[
{
"id": "Report",
"name": "Report",
"description": "As a cucumber user I want to generate HTML reports\nfrom cucumber JSON report files, so that I can get a\nbetter overview of my specifications",
"line": 1,
"keyword": "Feature",
"uri": "/home/username/code/cucumber-html-report/features/report.feature",
"elements": [
{
"name": "Generate report using default template",
"id": "Report;generate-report-using-default-template",
"line": 6,
"keyword": "Scenario",
"description": "",
"type": "scenario",
"steps": [
{
"name": "a JSON file generated by cucumber",
"line": 7,
"keyword": "Given ",
"result": {
"status": "failed",
"duration": 1960274
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:13"
}
},
{
"name": "the destination directory is set to \"reports\"",
"line": 8,
"keyword": "And ",
"result": {
"status": "passed",
"duration": 291606
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:19"
}
},
{
"name": "no template is provided",
"line": 9,
"keyword": "And ",
"result": {
"status": "passed",
"duration": 663174
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:24"
}
},
{
"name": "I run the report generator",
"line": 10,
"keyword": "When ",
"result": {
"status": "passed",
"duration": 5422722
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:35"
}
},
{
"name": "I should get a HTML report in the \"reports\" directory",
"line": 11,
"keyword": "Then ",
"result": {
"status": "passed",
"duration": 130660
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:40"
}
}
]
},
{
"name": "Generate report using custom template",
"id": "Report;generate-report-using-custom-template",
"line": 13,
"keyword": "Scenario",
"description": "",
"type": "scenario",
"steps": [
{
"name": "a JSON file generated by cucumber",
"line": 14,
"keyword": "Given ",
"result": {
"status": "passed",
"duration": 161073
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:13"
}
},
{
"name": "the destination directory is set to \"reports\"",
"line": 15,
"keyword": "And ",
"result": {
"status": "passed",
"duration": 57112
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:19"
}
},
{
"name": "a custom template is provided",
"line": 16,
"keyword": "And ",
"result": {
"status": "passed",
"duration": 118814
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:29"
}
},
{
"name": "I run the report generator",
"line": 17,
"keyword": "When ",
"result": {
"status": "passed",
"duration": 2383820
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:35"
}
},
{
"name": "I should get a HTML report in the \"reports\" directory",
"line": 18,
"keyword": "Then ",
"result": {
"status": "passed",
"duration": 143709
},
"match": {
"location": "/home/username/code/cucumber-html-report/features/step_definitions/report.steps.js:40"
}
}
]
}
]
}
]