Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The failure report formatter is like the print formatter, but it only shows failures.
Documentation can be found here.
Synopsis
- defaultFailureReportFormatter :: FailureReportFormatter
- data FailureReportFormatter
- failureReportUseColor :: FailureReportFormatter -> Bool
- failureReportLogLevel :: FailureReportFormatter -> Maybe LogLevel
- failureReportIncludeCallStacks :: FailureReportFormatter -> Bool
- failureReportIndentSize :: FailureReportFormatter -> Int
- failureReportVisibilityThreshold :: FailureReportFormatter -> Int
Documentation
data FailureReportFormatter Source #
Instances
Show FailureReportFormatter Source # | |
Defined in Test.Sandwich.Formatters.FailureReport showsPrec :: Int -> FailureReportFormatter -> ShowS # show :: FailureReportFormatter -> String # showList :: [FailureReportFormatter] -> ShowS # | |
Formatter FailureReportFormatter Source # | |
Defined in Test.Sandwich.Formatters.FailureReport formatterName :: FailureReportFormatter -> String Source # runFormatter :: (MonadLoggerIO m, MonadUnliftIO m, MonadCatch m) => FailureReportFormatter -> [RunNode BaseContext] -> Maybe (CommandLineOptions ()) -> BaseContext -> m () Source # finalizeFormatter :: (MonadIO m, MonadLogger m, MonadCatch m) => FailureReportFormatter -> [RunNode BaseContext] -> BaseContext -> m () Source # |