Jelly-RDF / jelly-jvm

JVM (Scala) implementation of Jelly
https://w3id.org/jelly/jelly-jvm/
Apache License 2.0
7 stars 2 forks source link

Add protocol forward compatibility tests #159

Closed Ostrzyciel closed 1 week ago

Ostrzyciel commented 1 week ago

We should have tests that check if future protos can actually be parsed (up to a certain point) and correctly rejected by the parser.

To do this, copy the rdf and grpc protos to the integration tests module and apply some modifications to them. Compile them to Scala using just scalapb, no scalameta. The transformations are not needed because in this case we do not care at all about serializer behavior, only about the serialized content. Add tests that check if some mock RDF data can be ingested by the current parser and correctly rejected.

Ostrzyciel commented 1 week ago

Also note in the docs that forward/back compat are tested in tests X Y Z...