| Stability | deprecated |
|---|---|
| Safe Haskell | None |
| Language | Haskell2010 |
Test.Hspec.Formatters
Description
Deprecated: Use Test.Hspec.Api.Formatters.V1 instead.
Documentation
Constructors
| Formatter | |
Fields
| |
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 #
Constructors
| Seconds Double |
Instances
| PrintfArg Seconds | |
Defined in Test.Hspec.Core.Clock | |
| Num Seconds | |
| Fractional Seconds | |
Defined in Test.Hspec.Core.Clock | |
| Show Seconds | |
| Eq Seconds | |
| Ord Seconds | |
data FailureRecord #
Constructors
| FailureRecord | |
Fields
| |
extraChunk :: String -> FormatM () #
getCPUTime :: FormatM (Maybe Seconds) #
getFailCount :: FormatM Int #
getPendingCount :: FormatM Int #
getSuccessCount :: 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 #