lib_mockup: upgrade qcheck to qcheck2
Context
We are upgrading QCheck tests to QCheck2 which bring automatic shrinking.
Part of #1583
We noticed in !3747 (merged) that generators are significantly slower in QCheck2. On my machine I ran
$ dune clean && dune runtest src/lib_crypto
with n=20 and I got:
- on master: 27.3
- on this branch: 26.6s
This is a really small MR, apologizing for the noise but I keep one MR per lib.
Checklist
- n/a Document the interface of any function added or modified (see the coding guidelines)
- n/a Document any change to the user interface, including configuration parameters (see node configuration)
- n/a Provide automatic testing (see the testing guide).
- n/a For new features and bug fixes, add an item in the appropriate changelog (
docs/protocols/alpha.rstfor the protocol and the environment, theDevelopment Versionsection ofCHANGES.mdfor everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Valentin Chaboche