skeletest-0.4.0: Batteries-included, opinionated test framework
Safe HaskellNone
LanguageGHC2021

Skeletest.Internal.Spec.Output

Synopsis

Rendering failures

renderPrettyFailure Source #

Arguments

:: Text

Message

-> [Text]

Failure context

-> [(FilePath, Int, Int, Int)]

Call stack (file, line, startCol, endCol)

-> IO Text 

Render a test failure like:

At testSkeletestInternal/TestTargetsSpec.hs:19:
|
|           parseTestTargets input shouldBe Right (Just expected)
|                                   ^^^^^^^^

Right 1 ≠ Left 1

BoxSpec

type BoxSpec = [BoxSpecContent] Source #

The specification for boxed output.