Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. optFormatter :: CommandLineOptions a -> FormatterType

    sandwich Test.Sandwich.Misc

    No documentation available.

  2. before' :: forall context (m :: Type -> Type) . HasCallStack => NodeOptions -> String -> ExampleT context m () -> SpecFree context m () -> SpecFree context m ()

    sandwich Test.Sandwich.Nodes

    Perform an action before a given spec tree.

  3. beforeEach' :: forall context (m :: Type -> Type) . HasCallStack => Maybe SrcLoc -> NodeOptions -> String -> ExampleT context m () -> SpecFree context m () -> SpecFree context m ()

    sandwich Test.Sandwich.Nodes

    Perform an action before each example in a given spec tree.

  4. type LogEntryFormatter = UTCTime -> Loc -> LogSource -> LogLevel -> LogStr -> ByteString

    sandwich Test.Sandwich.Options

    A callback for formatting a log entry to a ByteString.

  5. data SomeFormatter

    sandwich Test.Sandwich.Options

    An existential wrapper around Formatters

  6. SomeFormatter :: f -> SomeFormatter

    sandwich Test.Sandwich.Options

    No documentation available.

  7. finalizeFormatter :: (Formatter f, MonadIO m, MonadLogger m, MonadCatch m) => f -> [RunNode BaseContext] -> BaseContext -> m ()

    sandwich Test.Sandwich.Options

    Called after the test tree is completed, can be used to print final results

  8. optionsFormatters :: Options -> [SomeFormatter]

    sandwich Test.Sandwich.Options

    Which formatters to use to output the results of the tests.

  9. optionsLogFormatter :: Options -> LogEntryFormatter

    sandwich Test.Sandwich.Options

    Formatter function for log entries.

  10. runFormatter :: (Formatter f, MonadLoggerIO m, MonadUnliftIO m, MonadCatch m) => f -> [RunNode BaseContext] -> Maybe (CommandLineOptions ()) -> BaseContext -> m ()

    sandwich Test.Sandwich.Options

    The main function, executed while the test tree is running

Page 603 of many | Previous | Next