hedgehog-1.2: Release with confidence.
Safe Haskell None
Language Haskell2010

Hedgehog.Internal.Config

Synopsis

Documentation

data Seed Source #

A splittable random number generator.

Constructors

Seed

Fields

Instances

Instances details
Eq Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

Ord Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

Read Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

Show Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

RandomGen Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

Lift Seed Source #
Instance details

Defined in Hedgehog.Internal.Seed

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

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

Show WorkerCount Source #
Instance details

Defined in Hedgehog.Internal.Config

Lift WorkerCount Source #
Instance details

Defined in Hedgehog.Internal.Config

data Skip Source #

Where to start running a property's tests.

Constructors

SkipNothing

Don't skip anything.

SkipToTest TestCount

Skip to a specific test number. If it fails, shrink as normal. If it passes, move on to the next test. Coverage checks are disabled.

SkipToShrink TestCount ShrinkPath

Skip to a specific test number and shrink state. If it fails, stop without shrinking further. If it passes, the property will pass without running any more tests.

Due to implementation details, all intermediate shrink states - those on the direct path from the original test input to the target state - will be tested too, and their results discarded.