hedgehogqa / haskell-hedgehog

Release with confidence, state-of-the-art property testing for Haskell.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File path and line number can improve readability of test output when source files cannot be found

newhoggy opened this issue · comments

At the moment, when hedgehog cannot find the source files, it outputs text that looks like this:

              forAll0 =
                All 2 attempts failed
              
              forAll1 =
                2022-02-10 10:59:03.3182463 UTC

This is fine when the test is small, but for larger tests, it is difficult to find out where these correspond to the code.

It would be better if in these cases the path to the source file and line number were also included in the output.