Test.Hspec.Core.Formatters

# Formatters

silent

specdoc

progress

failed_examples

# Implementing a custom Formatter

data Formatter

data FormatM a

## Accessing the runner state

getSuccessCount

getPendingCount

getFailCount

getTotalCount

data FailureRecord

getFailMessages

usedSeed

getCPUTime

getRealTime

## Appending to the gerenated report

write

writeLine

newParagraph

## Dealing with colors

withInfoColor

withSuccessColor

withPendingColor

withFailColor

## Helpers

formatException