Safe Haskell | None |
---|---|
Language | Haskell2010 |
The entry point for mucheck
- evaluateMutants :: (Summarizable a, Show a) => (Mutant -> TestStr -> InterpreterOutput a -> Summary) -> [Mutant] -> [String] -> IO (MAnalysisSummary, [MutantSummary])
- evalMethod :: (MonadInterpreter m, Typeable t) => String -> String -> m t
- evalMutant :: (Typeable t, Summarizable t) => [TestStr] -> Mutant -> IO [InterpreterOutput t]
- evalTest :: (Typeable a, Summarizable a) => String -> String -> String -> IO (InterpreterOutput a)
- summarizeResults :: Summarizable a => (Mutant -> TestStr -> InterpreterOutput a -> Summary) -> [String] -> (Mutant, [InterpreterOutput a]) -> MutantSummary
- data MutantSummary
Documentation
evaluateMutants :: (Summarizable a, Show a) => (Mutant -> TestStr -> InterpreterOutput a -> Summary) -> [Mutant] -> [String] -> IO (MAnalysisSummary, [MutantSummary]) Source
Given the list of tests suites to check, run the test suite on mutants.
evalMethod :: (MonadInterpreter m, Typeable t) => String -> String -> m t Source
Given the filename, modulename, test to evaluate, evaluate, and return result as a pair.
t = I.runInterpreter (evalMethod "Examples/QuickCheckTest.hs" "quickCheckResult idEmp")
evalMutant :: (Typeable t, Summarizable t) => [TestStr] -> Mutant -> IO [InterpreterOutput t] Source
Run all tests on a mutant
evalTest :: (Typeable a, Summarizable a) => String -> String -> String -> IO (InterpreterOutput a) Source
Run one single test on a mutant
summarizeResults :: Summarizable a => (Mutant -> TestStr -> InterpreterOutput a -> Summary) -> [String] -> (Mutant, [InterpreterOutput a]) -> MutantSummary Source