hedgehog-0.6.1: Hedgehog will eat all your bugs.

Safe HaskellNone
LanguageHaskell98

Hedgehog.Internal.Report

Contents

Synopsis

Report

data Summary #

A summary of all the properties executed.

Instances
Show Summary # 
Instance details

Defined in Hedgehog.Internal.Report

Semigroup Summary # 
Instance details

Defined in Hedgehog.Internal.Report

Monoid Summary # 
Instance details

Defined in Hedgehog.Internal.Report

data Report a #

A report on a running or completed property test.

Instances
Functor Report # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

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

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

Foldable Report # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

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

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

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

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

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

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

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

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

toList :: Report a -> [a] #

null :: Report a -> Bool #

length :: Report a -> Int #

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

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

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

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

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

Traversable Report # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

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

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

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

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

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

Defined in Hedgehog.Internal.Report

Methods

showsPrec :: Int -> Report a -> ShowS #

show :: Report a -> String #

showList :: [Report a] -> ShowS #

data Progress #

The status of a running property test.

Instances
Eq Progress # 
Instance details

Defined in Hedgehog.Internal.Report

Show Progress # 
Instance details

Defined in Hedgehog.Internal.Report

data Result #

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 # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

(==) :: Result -> Result -> Bool #

(/=) :: Result -> Result -> Bool #

Show Result # 
Instance details

Defined in Hedgehog.Internal.Report

newtype ShrinkCount #

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

Constructors

ShrinkCount Int 
Instances
Enum ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Eq ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Integral ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Num ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Ord ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Real ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

Show ShrinkCount # 
Instance details

Defined in Hedgehog.Internal.Report

newtype TestCount #

The number of tests a property ran successfully.

Constructors

TestCount Int 
Instances
Enum TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Eq TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Integral TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Num TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Ord TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Real TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

Show TestCount # 
Instance details

Defined in Hedgehog.Internal.Report

newtype DiscardCount #

The number of tests a property had to discard.

Constructors

DiscardCount Int 
Instances
Enum DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Eq DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Integral DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Num DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Ord DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Real DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

Show DiscardCount # 
Instance details

Defined in Hedgehog.Internal.Report

newtype PropertyCount #

The number of properties in a group.

Constructors

PropertyCount Int 
Instances
Enum PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Eq PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Integral PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Num PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Ord PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Real PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

Show PropertyCount # 
Instance details

Defined in Hedgehog.Internal.Report

data Style #

Instances
Eq Style # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

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

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

Ord Style # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

compare :: Style -> Style -> Ordering #

(<) :: Style -> Style -> Bool #

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

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

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

max :: Style -> Style -> Style #

min :: Style -> Style -> Style #

Show Style # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

showsPrec :: Int -> Style -> ShowS #

show :: Style -> String #

showList :: [Style] -> ShowS #

Semigroup Style # 
Instance details

Defined in Hedgehog.Internal.Report

Methods

(<>) :: Style -> Style -> Style #

sconcat :: NonEmpty Style -> Style #

stimes :: Integral b => b -> Style -> Style #

fromResult :: Result -> Summary #

Construct a summary from a single result.