The test-framework
docs state that it supports "Reporting of the seed used upon a failed QuickCheck run, so you can reproduce the failure if necessary." However the default output does not display this, and I cannot find any command line option that will turn this on.
Is there a way of doing this in test-framework
, or will I have to manually print the usedSeed
from QuickCheck?
As i also was interested in the answer of this question it came to my mind, that result, searched for, is verbosed output of the test. This brought me to the answer on hoogle: https://www.haskell.org/hoogle/?hoogle=verboseCheck
So instead of using
quickCheck :: Testable prop => prop -> IO ()
giving just an output of:
use
verboseCheck :: Testable prop => prop -> IO ()
giving verbosed, detailed output like this example for each test (Passed: for 100 times):
As there was no answer to this question and i got it by my own, i created an account here and share it