junit formatter
Junit formatter is built-in to CucumberJS so no need to install any packages
Configuration
export default {
format: [
['junit', 'report/report.xml']
]
}
More info in CucumberJS docs https://github.com/cucumber/cucumber-js/blob/main/docs/formatters.md#junit