Skip to content

Parse CallStack for error diagnostics #193

@mrcjkb

Description

@mrcjkb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions