struson
struson copied to clipboard
[serde] Add more Serde derived tests
Enhancement description
As seen with #41 it might be useful to add more Serde tests which cover derived implementations, therefore being closer to real code.
Could possibly
- include examples from https://serde.rs/examples.html (properly crediting them)
- include test code from the Serde repositories (properly crediting them)
- create tests for some of the supported attributes, https://serde.rs/attributes.html
But don't need to cover everything since the Serializer and Deserializer usage might be similar for many cases, and only the derived Serialize and Deserialize implementation has larger differences, but that is unrelated to the Serde support by Struson.