hedgehog-1.0.2: Release with confidence.
Safe HaskellNone
LanguageHaskell98

Hedgehog.Internal.Config

Synopsis

Documentation

data UseColor Source #

Whether to render output using ANSI colors or not.

Constructors

DisableColor

Disable ANSI colors in report output.

EnableColor

Enable ANSI colors in report output.

Instances

Instances details
Eq UseColor Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

(==) :: UseColor -> UseColor -> Bool

(/=) :: UseColor -> UseColor -> Bool

Ord UseColor Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

compare :: UseColor -> UseColor -> Ordering

(<) :: UseColor -> UseColor -> Bool

(<=) :: UseColor -> UseColor -> Bool

(>) :: UseColor -> UseColor -> Bool

(>=) :: UseColor -> UseColor -> Bool

max :: UseColor -> UseColor -> UseColor

min :: UseColor -> UseColor -> UseColor

Show UseColor Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

showsPrec :: Int -> UseColor -> ShowS

show :: UseColor -> String

showList :: [UseColor] -> ShowS

Lift UseColor Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

lift :: UseColor -> Q Exp

resolveColor :: MonadIO m => Maybe UseColor -> m UseColor Source #

data Verbosity Source #

How verbose should the report output be.

Constructors

Quiet

Only display the summary of the test run.

Normal

Display each property as it is running, as well as the summary.

Instances

Instances details
Eq Verbosity Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

(==) :: Verbosity -> Verbosity -> Bool

(/=) :: Verbosity -> Verbosity -> Bool

Ord Verbosity Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

compare :: Verbosity -> Verbosity -> Ordering

(<) :: Verbosity -> Verbosity -> Bool

(<=) :: Verbosity -> Verbosity -> Bool

(>) :: Verbosity -> Verbosity -> Bool

(>=) :: Verbosity -> Verbosity -> Bool

max :: Verbosity -> Verbosity -> Verbosity

min :: Verbosity -> Verbosity -> Verbosity

Show Verbosity Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

showsPrec :: Int -> Verbosity -> ShowS

show :: Verbosity -> String

showList :: [Verbosity] -> ShowS

Lift Verbosity Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

lift :: Verbosity -> Q Exp

resolveVerbosity :: MonadIO m => Maybe Verbosity -> m Verbosity Source #

newtype WorkerCount Source #

The number of workers to use when running properties in parallel.

Constructors

WorkerCount Int 

Instances

Instances details
Enum WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Eq WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

(==) :: WorkerCount -> WorkerCount -> Bool

(/=) :: WorkerCount -> WorkerCount -> Bool

Integral WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Num WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Ord WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Real WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

toRational :: WorkerCount -> Rational

Show WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

showsPrec :: Int -> WorkerCount -> ShowS

show :: WorkerCount -> String

showList :: [WorkerCount] -> ShowS

Lift WorkerCount Source # 
Instance details

Defined in Hedgehog.Internal.Config

Methods

lift :: WorkerCount -> Q Exp

resolveWorkers :: MonadIO m => Maybe WorkerCount -> m WorkerCount Source #

detectMark :: MonadIO m => m Bool Source #

detectColor :: MonadIO m => m UseColor Source #

detectVerbosity :: MonadIO m => m Verbosity Source #

detectWorkers :: MonadIO m => m WorkerCount Source #