Published another chapter of @zero2prod!
This time we focus on property-based testing in @rustlang.
We look at how to generate random test data using fake, while we use quickcheck to test multiple samples per run.
Enjoy!
https://t.co/EsJI44FyuQ
Really cool when you think something a bit out of the ordinary **might** work and it actually does when you try it out.
Partial parsing of JSON values using serde (a.k.a. check the structure of a subset of fields and collect the remaining ones in Value): https://t.co/20dYQgGU1n