Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data TestKitSettings a ctx = TestKitSettings {
- tksSetUp :: IO a
- tksTearDown :: a -> IO ()
- tksMakeContext :: a -> IO ctx
- mkBracket :: TestKitSettings a ctx -> (a -> IO b) -> IO b
Documentation
data TestKitSettings a ctx Source
Test kit settings with a test context of type ctx
.
TestKitSettings | |
|
mkBracket :: TestKitSettings a ctx -> (a -> IO b) -> IO b Source
Create a "bracket" for a computation which ensures that the setUp and tearDown phases happen no matter what else happens during the computation.