Add debug shrinking log - #88
Conversation
| example-runner: | ||
| @dune exec example/QCheck_runner_test.exe | ||
| @dune exec example/QCheck_runner_test.exe -- --debug-shrink=log.tmp |
There was a problem hiding this comment.
this is more a topic for discussion, not a review, but here Sys.getenv might also be quite convenient compared to passing parameters on the CLI (which needs to be negociated with each runner, including alcotest).
never mind, the whole PR is for the base runner.
| (** {2 Event handlers} *) | ||
| type counter = { |
There was a problem hiding this comment.
could this be a type counter = private {… to prevent mutation of the fields?
There was a problem hiding this comment.
That would be a good idea, yes.
jmid
commented
Nov 23, 2019
First of all: Nice work! 👍🏻 |
gasche
commented
May 5, 2021
I just helped a student work on a shrinker for Inferno, and we benefited enormously of the new logging feature. Thanks! |
Should fix#71
cc @gasche , sorry for the delay.