hedgehog-0.1: Hedgehog will eat all your bugs.

Safe HaskellNone
LanguageHaskell98

Hedgehog.Internal.Runner

Contents

Synopsis

Runner

data RunnerConfig Source #

Configuration for a property test run.

Constructors

RunnerConfig 

Fields

check :: MonadIO m => Property -> m Bool Source #

Check a property.

checkGroupWith :: MonadIO m => RunnerConfig -> GroupName -> [(PropertyName, Property)] -> m Bool Source #

Check a group of properties using the specified runner config.

recheck :: MonadIO m => Size -> Seed -> Property -> m () Source #

Check a property using a specific size and seed.

Internal

checkReport :: forall m. MonadIO m => MonadCatch m => PropertyConfig -> Size -> Seed -> Test m () -> (Report -> m ()) -> m Report Source #

checkConsoleRegion :: MonadIO m => Console.ConsoleRegion -> Maybe PropertyName -> Size -> Seed -> Property -> m Report Source #

checkNamed :: MonadIO m => Console.ConsoleRegion -> Maybe PropertyName -> Property -> m Bool Source #