Safe Haskell | None |
---|---|
Language | Haskell98 |
- data RunnerConfig = RunnerConfig {
- runnerWorkers :: !(Maybe Int)
- check :: MonadIO m => Property -> m Bool
- checkGroupWith :: MonadIO m => RunnerConfig -> GroupName -> [(PropertyName, Property)] -> m Bool
- recheck :: MonadIO m => Size -> Seed -> Property -> m ()
- checkReport :: forall m. MonadIO m => MonadCatch m => PropertyConfig -> Size -> Seed -> Test m () -> (Report -> m ()) -> m Report
- checkConsoleRegion :: MonadIO m => Console.ConsoleRegion -> Maybe PropertyName -> Size -> Seed -> Property -> m Report
- checkNamed :: MonadIO m => Console.ConsoleRegion -> Maybe PropertyName -> Property -> m Bool
Runner
data RunnerConfig Source #
Configuration for a property test run.
RunnerConfig | |
|
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 #