Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use quickCheck tests for the the fromJSON/toJSON of the Payload #535

Open
DOBEN opened this issue May 24, 2024 · 0 comments
Open

Use quickCheck tests for the the fromJSON/toJSON of the Payload #535

DOBEN opened this issue May 24, 2024 · 0 comments
Labels
[Type] Task An additional feature or improvement.

Comments

@DOBEN
Copy link
Member

DOBEN commented May 24, 2024

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

#529 (review)

@DOBEN DOBEN added the [Type] Task An additional feature or improvement. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Task An additional feature or improvement.
Projects
None yet
Development

No branches or pull requests

1 participant