Our unit test suite doesn't have as good coverage for avro as for json (e.g. no tests with WITH format=avro, updated). This is because it's annoying to write assertPayloads for avro. As we start adding more formats, it's going to be useful to have the ability to write tests that document behavior shared among multiple encoders in a format-agnostic way, say by converting the output to json or a struct before asserting things about it.
Our unit test suite doesn't have as good coverage for avro as for json (e.g. no tests with
WITH format=avro, updated
). This is because it's annoying to writeassertPayloads
for avro. As we start adding more formats, it's going to be useful to have the ability to write tests that document behavior shared among multiple encoders in a format-agnostic way, say by converting the output to json or a struct before asserting things about it.Jira issue: CRDB-15785
Epic CRDB-9179