hedgehog-0.6.1: Hedgehog will eat all your bugs.

Safe HaskellNone
LanguageHaskell98

Hedgehog.Internal.Report

Contents

Synopsis

Report

data Report a Source #

A report on a running or completed property test.

Instances
Functor Report Source # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

fmap :: (a -> b) -> Report a -> Report b Source #

(<$) :: a -> Report b -> Report a Source #

Foldable Report Source # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

fold :: Monoid m => Report m -> m Source #

foldMap :: Monoid m => (a -> m) -> Report a -> m Source #

foldr :: (a -> b -> b) -> b -> Report a -> b Source #

foldr' :: (a -> b -> b) -> b -> Report a -> b Source #

foldl :: (b -> a -> b) -> b -> Report a -> b Source #

foldl' :: (b -> a -> b) -> b -> Report a -> b Source #

foldr1 :: (a -> a -> a) -> Report a -> a Source #

foldl1 :: (a -> a -> a) -> Report a -> a Source #

toList :: Report a -> [a] Source #

null :: Report a -> Bool Source #

length :: Report a -> Int Source #

elem :: Eq a => a -> Report a -> Bool Source #

maximum :: Ord a => Report a -> a Source #

minimum :: Ord a => Report a -> a Source #

sum :: Num a => Report a -> a Source #

product :: Num a => Report a -> a Source #

Traversable Report Source # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

traverse :: Applicative f => (a -> f b) -> Report a -> f (Report b) Source #

sequenceA :: Applicative f => Report (f a) -> f (Report a) Source #

mapM :: Monad m => (a -> m b) -> Report a -> m (Report b) Source #

sequence :: Monad m => Report (m a) -> m (Report a) Source #

Show a => Show (Report a) Source # 
Instance details

Defined in Hedgehog.Internal.Report

data Progress Source #

The status of a running property test.

Instances
Eq Progress Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show Progress Source # 
Instance details

Defined in Hedgehog.Internal.Report

data Result Source #

The status of a completed property test.

In the case of a failure it provides the seed used for the test, the number of shrinks, and the execution log.

Constructors

Failed !FailureReport 
GaveUp 
OK 
Instances
Eq Result Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show Result Source # 
Instance details

Defined in Hedgehog.Internal.Report

newtype ShrinkCount Source #

The numbers of times a property was able to shrink after a failing test.

Constructors

ShrinkCount Int 
Instances
Enum ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Eq ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Integral ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Num ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Ord ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Real ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show ShrinkCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

newtype TestCount Source #

The number of tests a property ran successfully.

Constructors

TestCount Int 
Instances
Enum TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Eq TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Integral TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Num TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Ord TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Real TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show TestCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

newtype DiscardCount Source #

The number of tests a property had to discard.

Constructors

DiscardCount Int 
Instances
Enum DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Eq DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Integral DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Num DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Ord DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Real DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show DiscardCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

newtype PropertyCount Source #

The number of properties in a group.

Constructors

PropertyCount Int 
Instances
Enum PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Eq PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Integral PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Num PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Ord PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Real PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show PropertyCount Source # 
Instance details

Defined in Hedgehog.Internal.Report

data Style Source #

Instances
Eq Style Source # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

(==) :: Style -> Style -> Bool Source #

(/=) :: Style -> Style -> Bool Source #

Ord Style Source # 
Instance details

Defined in Hedgehog.Internal.Report

Show Style Source # 
Instance details

Defined in Hedgehog.Internal.Report

Semigroup Style Source # 
Instance details

Defined in Hedgehog.Internal.Report

fromResult :: Result -> Summary Source #

Construct a summary from a single result.