| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Hspec.Runner
Documentation
defaultConfig :: Config #
Constructors
configAddFilter :: (Path -> Bool) -> Config -> Config #
readConfig :: Config -> [String] -> IO Config #
Constructors
| ColorAuto | |
| ColorNever | |
| ColorAlways |
data UnicodeMode #
Constructors
| UnicodeAuto | |
| UnicodeNever | |
| UnicodeAlways |
Instances
| Show UnicodeMode | |
Defined in Test.Hspec.Core.Config.Definition Methods showsPrec :: Int -> UnicodeMode -> ShowS show :: UnicodeMode -> String showList :: [UnicodeMode] -> ShowS | |
| Eq UnicodeMode | |
Defined in Test.Hspec.Core.Config.Definition | |
data ResultItem #
Instances
| Show ResultItem | |
Defined in Test.Hspec.Core.Runner.Result Methods showsPrec :: Int -> ResultItem -> ShowS show :: ResultItem -> String showList :: [ResultItem] -> ShowS | |
| Eq ResultItem | |
Defined in Test.Hspec.Core.Runner.Result | |
data ResultItemStatus #
Constructors
| ResultItemSuccess | |
| ResultItemPending | |
| ResultItemFailure |
Instances
| Show ResultItemStatus | |
Defined in Test.Hspec.Core.Runner.Result Methods showsPrec :: Int -> ResultItemStatus -> ShowS show :: ResultItemStatus -> String showList :: [ResultItemStatus] -> ShowS | |
| Eq ResultItemStatus | |
Defined in Test.Hspec.Core.Runner.Result Methods (==) :: ResultItemStatus -> ResultItemStatus -> Bool (/=) :: ResultItemStatus -> ResultItemStatus -> Bool | |
data SpecResult #
Instances
| Show SpecResult | |
Defined in Test.Hspec.Core.Runner.Result Methods showsPrec :: Int -> SpecResult -> ShowS show :: SpecResult -> String showList :: [SpecResult] -> ShowS | |
| Eq SpecResult | |
Defined in Test.Hspec.Core.Runner.Result | |
Constructors
| Summary | |
Fields
| |
resultItemIsFailure :: ResultItem -> Bool #
toSummary :: SpecResult -> Summary #
registerDefaultFormatter :: (String, FormatConfig -> IO Format) -> Config -> Config #
registerFormatter :: (String, FormatConfig -> IO Format) -> Config -> Config #
evaluateResult :: SpecResult -> IO () #
evaluateSummary :: Summary -> IO () #
hspecResult :: Spec -> IO Summary #
hspecWithResult :: Config -> Spec -> IO Summary #
runSpecForest :: [SpecTree ()] -> Config -> IO SpecResult #