Rewrite stable marshaling tests #89

Closed
opened 2024-07-15 12:52:39 +00:00 by fyrchik · 0 comments
Owner

I am frustrated with how our tests on stable marshaling are written.

  1. We test the routines that directly use protowire, but we do not test end-to-end scenario.
  2. Adding new testcases is a pain. I have recently tried to support packed attributes.

The suggestion is to use protogen to generate testdata then compare compatibility with the vanilla protobuf.
We may fix this after #77.

I am frustrated with how our tests on stable marshaling are written. 1. We test the routines that directly use `protowire`, but we do not test end-to-end scenario. 2. Adding new testcases is a pain. I have recently tried to support `packed` attributes. The suggestion is to _use_ protogen to generate testdata then compare compatibility with the vanilla protobuf. We may fix this after #77.
fyrchik added the
internal
label 2024-07-15 12:55:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-api-go#89
No description provided.