MuCheck-0.3.0.4: Automated Mutation Testing

Safe HaskellNone
LanguageHaskell2010

Test.MuCheck.TestAdapter

Description

Module for adapting test framekworks

Synopsis

Documentation

data Summarizable a => InterpreterOutput a Source

Wrapper for interpreter output

Constructors

Io 

type Mutant = String Source

Holding mutant information

type TestStr = String Source

Holding test information

newtype Summary Source

Summary of test run

Constructors

Summary String 

class Typeable s => Summarizable s where Source

Interface to be implemented by a test framework

Minimal complete definition

testSummary, isSuccess

Methods

testSummary :: Mutant -> TestStr -> InterpreterOutput s -> Summary Source

Summary of test suite on a single mutant

isSuccess :: s -> Bool Source

Was the test run a success

isFailure :: s -> Bool Source

Was the test run a failure

isOther :: s -> Bool Source

Was the test run neither (gaveup/timedout)