Skip to content

Commit 5f9b34d

Browse files
committed
Restore testdata/README.md
Deleted by accident
1 parent 6ae719c commit 5f9b34d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

testdata/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Acceptance test data
2+
3+
The junit xml formatter uses the examples from the [cucumber compatibility kit](https://github.com/cucumber/compatibility-kit)
4+
for acceptance testing. These examples consist of `.ndjson` files created by
5+
the [`fake-cucumber` reference implementation](https://github.com/cucumber/fake-cucumber).
6+
7+
* The `.njdon` files are copied in by running `npm install`.
8+
* The expected `.xml` files are created by running the
9+
`MessagesToJunitXmlWriterAcceptanceTest#updateExpectedXmlReportFiles` test.
10+
11+
We ensure the `.ndjson` files stay up to date by running `npm install` in CI
12+
and verifying nothing changed.
13+
14+
Should there be changes, these tests can be used to update the expected data:
15+
* Java: `MessagesToJunitXmlWriterAcceptanceTest.updateExpectedXmlReportFiles`

0 commit comments

Comments
 (0)