QCheck_alcotestWe use environment variables for controlling QCheck here, since alcotest doesn't seem to provide a lot of flexibility.
QCHECK_VERBOSE if "1" or "true", will make tests verboseQCHECK_SEED if an integer, will fix the seedQCHECK_LONG is present, will trigger long testsval to_alcotest :
?colors:bool ->
?verbose:bool ->
?long:bool ->
?debug_shrink:Stdlib.out_channel option ->
?debug_shrink_list:string list ->
?rand:Stdlib.Random.State.t ->
QCheck2.Test.t ->
unit Alcotest.test_caseConvert a qcheck test into an alcotest test.
In addition to the environment variables mentioned above, you can control the behavior of QCheck tests using optional parameters that behave in the same way as the parameters of QCheck_base_runner.run_tests.