So I'm implementing a format for kxs (<knbt>). Is ...
# serialization
b
So I'm implementing a format for kxs (knbt). Is there a recommended way to run tests on a format? My first thought is that it would be cool if there were some kind of "test-suite-for-3rd-party-kxs-formats" dependency I could pull in, maybe abstract test suites for
BinaryFormat
and
StringFormat
that could be extended, overriding some format-specific details (like instantiation?) Otherwise I'm thinking of using the json tests as a starting point. I think my format is already well tested, I'm just worried I've got some small oversights. I'm also looking to implement support for polymorphism which I'm less comfortable with so knowing I've got all my bases covered would be reassuring :)