hspec-2.11.16: A Testing Framework for Haskell
Stabilitydeprecated
Safe HaskellNone
LanguageHaskell2010

Test.Hspec.Formatters

Description

Deprecated: Use Test.Hspec.Api.Formatters.V1 instead.

Documentation

data Formatter #

Constructors

Formatter 

Fields

data FailureReason #

Constructors

NoReason 
Reason String 
ExpectedButGot (Maybe String) String String 
Error (Maybe String) SomeException 

Instances

Instances details
Show FailureReason 
Instance details

Defined in Test.Hspec.Core.Formatters.V1.Monad

Methods

showsPrec :: Int -> FailureReason -> ShowS

show :: FailureReason -> String

showList :: [FailureReason] -> ShowS

formatterToFormat :: Formatter -> FormatConfig -> IO Format #

newtype Seconds #

Constructors

Seconds Double 

Instances

Instances details
PrintfArg Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

formatArg :: Seconds -> FieldFormatter

parseFormat :: Seconds -> ModifierParser

Num Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Fractional Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

(/) :: Seconds -> Seconds -> Seconds

recip :: Seconds -> Seconds

fromRational :: Rational -> Seconds

Show Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

showsPrec :: Int -> Seconds -> ShowS

show :: Seconds -> String

showList :: [Seconds] -> ShowS

Eq Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

(==) :: Seconds -> Seconds -> Bool

(/=) :: Seconds -> Seconds -> Bool

Ord Seconds 
Instance details

Defined in Test.Hspec.Core.Clock

Methods

compare :: Seconds -> Seconds -> Ordering

(<) :: Seconds -> Seconds -> Bool

(<=) :: Seconds -> Seconds -> Bool

(>) :: Seconds -> Seconds -> Bool

(>=) :: Seconds -> Seconds -> Bool

max :: Seconds -> Seconds -> Seconds

min :: Seconds -> Seconds -> Seconds

type FormatM = Free FormatF #

extraChunk :: String -> FormatM () #

missingChunk :: String -> FormatM () #

useDiff :: FormatM Bool #

usedSeed :: FormatM Integer #

write :: String -> FormatM () #

writeLine :: String -> FormatM () #

writeTransient :: String -> FormatM () #

formatException :: SomeException -> String #