Being a fan of quickCheck, I have a lot
prop_something_something = ...
in my entire program.
For convenience, to easily run all of them, I define
runchecks = do quickCheck prop_something_something quickCheck prop_something_different
but is there a good way to generate runchecks ?
TL DR: I want to easily run all quickChecks in a file. I suppose one way is to prefix running tests with test_ or something similar, but that might be too hacky.
haskell quickcheck
Christian neverdal
source share