bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Add beginning of complex serialization / deserialization tests (#6834)

Open Wcubed opened this issue 2 years ago • 2 comments

Objective

Lay down the basis for catching serialization / deserialization bugs, such as those listed in #6834.

Solution

Added a backend-agnostic roundtrip test, along with implementations for ron, postcard, bincode and messagepack.

Wcubed avatar Jan 22 '23 20:01 Wcubed

I created a separate crate for adding integration tests, so we can separate out the dependencies for the integration tests with those for the examples.

I was not sure whether to put the tests all in the src directory, or all in the tests directory. If we put them in the src directory, we could re-use components we create for tests in different tests. Or have I missed something and is it possible to include one test module in another?

Wcubed avatar Jan 26 '23 20:01 Wcubed

Rebased upon current master.

Wcubed avatar Mar 12 '23 14:03 Wcubed