Test.Runner.Driver
Description
Test.Runner.Driver contains the functions that determine which tests are run, with which parameters and by how many threads.
- runTests :: [(String, TestRunnerTest)] -> IO Result
- runTestsParallel :: Int -> [(String, TestRunnerTest)] -> IO Result
- runTestsWithArgs :: Args -> [(String, TestRunnerTest)] -> IO Result
- runTestsParallelWithArgs :: Int -> Args -> [(String, TestRunnerTest)] -> IO Result
- data Result = Result {}
Documentation
Arguments
| :: Int | Number of worker threads to use |
| -> [(String, TestRunnerTest)] | The tests with their names |
| -> IO Result |
Uses multiple threads to run a set of unit tests.
runTestsWithArgs :: Args -> [(String, TestRunnerTest)] -> IO ResultSource
Run a list of named tests, using the given QuickCheck Args for the
QuickCHeck tests.
runTestsParallelWithArgsSource
Arguments
| :: Int | Number of worker threads to use |
| -> Args | Arguments to QuickCheck |
| -> [(String, TestRunnerTest)] | Tests with names |
| -> IO Result |
Use multiple threads to run a set of unit tests, and run the QuickCheck
tests with the given QuickCheck Args.