Open mpkorstanje opened 1 year ago
I think this is a good idea; how would the testdata be generated?
I think hand picking a few interesting cases from the current CCK should be sufficient.
For this repo we are mostly concerned with ensuring the serialization works. This means that both legs of a round trip work.
Wether or not the contents of a message is correct and consistent with the other messages in a report file isn't a concern here. So we don't need a cucumber implementation to generate them.
I agree, pick some from CCK + https://github.com/cucumber/messages/blob/main/java/src/test/java/io/cucumber/messages/NdjsonSerializationTest.java and put them in a folder and we can just check encode->decode->encode works and results in the same things