concordium-base icon indicating copy to clipboard operation
concordium-base copied to clipboard

Use `quickCheck` tests for the the fromJSON/toJSON of the Payload

Open DOBEN opened this issue 9 months ago • 0 comments

It would be better to use quickCheck for the payload JSON encoding/decoding tests to cover more variations of possible payloads.

https://github.com/Concordium/concordium-base/blob/377398d920e8b09f4105287de52f69f013af1c00/haskell-tests/Types/PayloadSpec.hs

https://github.com/Concordium/concordium-base/pull/529#pullrequestreview-2073361880

DOBEN avatar May 24 '24 09:05 DOBEN