cucumber-junit-formatter
JSON →cucumber-junit-formatter (v0.2.2) is a custom formatter for Cucumber.js that generates JUnit XML reports compatible with Jenkins, GitLab CI/CD, and other CI systems. It transforms Cucumber test results into the standard JUnit XML format, treating pending or undefined steps as failures. The package is maintained but receives infrequent updates, with peer dependency on cucumber >=3.0.0. Key differentiators include support for optional configuration like scenarioAsStep (wrapping scenarios as steps within features), withPackage (adding package attribute), and propertiesInTestcase (embedding properties in testcase elements). It is an alternative to cucumber-junit and cucumber-pretty, focusing on strict JUnit compliance for CI pipelines.
Resources
packagecucumber-junit-formatter ↗