Hoogle Search
Within LTS Haskell 24.39 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
before_ :: IO () -> SpecWith a -> SpecWith ahspec-core Test.Hspec.Core.Hooks Run a custom action before every spec item.
configAvailableFormatters :: Config -> [(String, FormatConfig -> IO Format)]hspec-core Test.Hspec.Core.Runner No documentation available.
configFormat :: Config -> Maybe (FormatConfig -> IO Format)hspec-core Test.Hspec.Core.Runner No documentation available.
configFormatException :: Config -> SomeException -> Stringhspec-core Test.Hspec.Core.Runner No documentation available.
configFormatter :: Config -> Maybe Formatterhspec-core Test.Hspec.Core.Runner Deprecated: Use useFormatter instead.
registerDefaultFormatter :: (String, FormatConfig -> IO Format) -> Config -> Confighspec-core Test.Hspec.Core.Runner Deprecated: Use useFormatter instead.
registerFormatter :: (String, FormatConfig -> IO Format) -> Config -> Confighspec-core Test.Hspec.Core.Runner Deprecated: Use registerFormatter instead.
runSpecForest :: [SpecTree ()] -> Config -> IO SpecResulthspec-core Test.Hspec.Core.Runner runSpecForest is the most basic primitive to run a spec. hspec is defined in terms of runSpecForest:
hspec = evalSpec defaultConfig >=> \ (config, spec) -> getArgs >>= readConfig config >>= withArgs [] . runSpecForest spec >>= evaluateResult
bimapForest :: (a -> b) -> (c -> d) -> [Tree a c] -> [Tree b d]hspec-core Test.Hspec.Core.Spec No documentation available.
filterForest :: (a -> Bool) -> [Tree c a] -> [Tree c a]hspec-core Test.Hspec.Core.Spec No documentation available.