Hoogle Search

Within LTS Haskell 24.63 (ghc-9.10.3)

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

  1. 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.

  2. 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.

  3. type LogEntryFormatter = UTCTime -> Loc -> LogSource -> LogLevel -> ByteString -> ByteString

    sandwich Test.Sandwich.Options

    A callback for formatting a log entry to a ByteString.

  4. data SomeFormatter

    sandwich Test.Sandwich.Options

    An existential wrapper around Formatters

  5. SomeFormatter :: f -> SomeFormatter

    sandwich Test.Sandwich.Options

    No documentation available.

  6. 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

  7. optionsFormatters :: Options -> [SomeFormatter]

    sandwich Test.Sandwich.Options

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

  8. optionsLogFormatter :: Options -> LogEntryFormatter

    sandwich Test.Sandwich.Options

    Formatter function for log entries.

  9. 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

  10. gracefullyWaitForProcess :: (MonadIO m, MonadLogger m) => ProcessHandle -> Int -> m ()

    sandwich Test.Sandwich.Util.Process

    Wait for a process to terminate. If it doesn't terminate within gracePeriodUs microseconds, send it an interrupt signal and wait for another gracePeriodUs microseconds. After this time elapses send a terminate signal and wait for the process to die.

Page 607 of many | Previous | Next