Stability | deprecated |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Test.Hspec.Formatters
Description
Deprecated: Use Test.Hspec.Api.Formatters.V1 instead.
Documentation
Constructors
Formatter | |
Fields
|
Instances
IsFormatter Formatter Source # | |
Defined in Test.Hspec.Discover | |
IsFormatter (IO Formatter) Source # | |
Defined in Test.Hspec.Discover |
data FailureReason #
Constructors
NoReason | |
Reason String | |
ExpectedButGot (Maybe String) String String | |
Error (Maybe String) SomeException |
Instances
Show FailureReason | |
Defined in Test.Hspec.Core.Formatters.V1.Monad Methods showsPrec :: Int -> FailureReason -> ShowS # show :: FailureReason -> String # showList :: [FailureReason] -> ShowS # |
formatterToFormat :: Formatter -> FormatConfig -> IO Format #
Instances
Num Seconds | |
Fractional Seconds | |
Show Seconds | |
PrintfArg Seconds | |
Defined in Test.Hspec.Core.Clock | |
Eq Seconds | |
Ord Seconds | |
Defined in Test.Hspec.Core.Clock |
data FailureRecord #
Constructors
FailureRecord | |
Fields
|
extraChunk :: String -> FormatM () #
getCPUTime :: FormatM (Maybe Seconds) #
getFailCount :: FormatM Int #
getTotalCount :: FormatM Int #
missingChunk :: String -> FormatM () #
withFailColor :: FormatM a -> FormatM a #
withInfoColor :: FormatM a -> FormatM a #
withPendingColor :: FormatM a -> FormatM a #
withSuccessColor :: FormatM a -> FormatM a #
writeTransient :: String -> FormatM () #
formatException :: SomeException -> String #