mutagen-0.1.0.0: Property-based testing framework for Haskell using type-preserving mutations.
Safe HaskellNone
LanguageHaskell2010

Test.Mutagen

Description

Convenience module re-exporting all public test modules.

Synopsis

Documentation

mutagen :: Testable p => p -> IO () Source #

Run Mutagen with default configuration.

mutagenVerbose :: Testable p => p -> IO () Source #

Run Mutagen with default configuration in verbose mode.

mutagenVerboseReport :: Testable p => p -> IO Report Source #

Run Mutagen with default configuration in verbose mode, returning a report.

mutagenReport :: Testable p => p -> IO Report Source #

Run Mutagen with default configuration, returning a report.

mutagenWith :: Testable p => Config -> p -> IO () Source #

Run Mutagen with a custom configuration.

mutagenWithReport :: Testable p => Config -> p -> IO Report Source #

Run Mutagen with a custom configuration, returning a report.

data TRACE Source #

Tell the tracer plugin to trace this function.

For example:

 {-# ANN myFunction TRACE #-}
 myFunction :: Int -> Int
 myFunction x = x + 1

Constructors

TRACE 

Instances

Instances details
Data TRACE Source # 
Instance details

Defined in Test.Mutagen.Tracer.Annotation

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TRACE -> c TRACE #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TRACE #

toConstr :: TRACE -> Constr #

dataTypeOf :: TRACE -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TRACE) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TRACE) #

gmapT :: (forall b. Data b => b -> b) -> TRACE -> TRACE #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TRACE -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TRACE -> r #

gmapQ :: (forall d. Data d => d -> u) -> TRACE -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TRACE -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TRACE -> m TRACE #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TRACE -> m TRACE #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TRACE -> m TRACE #