mrcjkb / neotest-haskell

Neotest adapter for Haskell (cabal or stack) with support for Sydtest, Hspec and Tasty
GNU General Public License v2.0
55 stars 4 forks source link

Parse CallStack for error diagnostics #193

Open mrcjkb opened 1 month ago

mrcjkb commented 1 month ago

Feature description

Using HasCallStack, test runs can output more information about where an assertion failed.

Example:

        CallStack (from HasCallStack):
          shouldBe, called at test/Spec.hs:256:28 in main:Spec
          compare, called at test/Spec.hs:206:7 in main:Spec
          runSpec, called at test/TestMain.hs:49:7 in main:TestMain