|
Test.HUnit.Utils | Portability | portable | Stability | provisional | Maintainer | John Goerzen <jgoerzen@complete.org> |
|
|
|
Description |
Utilities for HUnit unit testing.
Written by John Goerzen, jgoerzen@complete.org
|
|
Synopsis |
|
|
|
Documentation |
|
assertRaises :: Show a => String -> Exception -> IO a -> IO () |
Asserts that a specific exception is raised by a given action.
|
|
mapassertEqual :: (Show b, Eq b) => String -> (a -> b) -> [(a, b)] -> [Test] |
|
qccheck |
:: Testable a | | => Config | quickcheck config
| -> String | label for the property
| -> a | quickcheck property
| -> Test | | qccheck turns the quickcheck test into an hunit test
|
|
|
qctest :: Testable a => String -> a -> Test |
qctest is equivalent to 'qccheck defaultConfig'
|
|
Produced by Haddock version 0.8 |