The junit xml formatter uses the examples from the cucumber compatibility kit
for acceptance testing. These examples consist of .ndjson files created by
the fake-cucumber reference implementation.
- The
.njdonfiles are copied in by runningnpm install. - The expected
.xmlfiles are created by running theMessagesToJunitXmlWriterAcceptanceTest#updateExpectedXmlReportFilestest.
We ensure the .ndjson files stay up to date by running npm install in CI
and verifying nothing changed.
Should there be changes, these tests can be used to update the expected data:
- Java:
MessagesToJunitXmlWriterAcceptanceTest.updateExpectedXmlReportFiles