The JSON generated by cucumber-js for my tests has Before and After steps that are tagged in the JSON as "hidden". It would be nice if cucumber-junit respected the the "hidden" tag and left these steps out of the generated xml.
"steps": [
{
"keyword": "Before ",
"hidden": true,
"result": {
"duration": 6105808,
"status": "passed"
},
"match": {}
},
{
"name": "I log in as user \"username\" and password \"password\"",
"line": 9,
"keyword": "When ",
"result": {
"duration": 33224808,
"status": "passed"
},
"match": {}
},