| Safe Haskell | Safe | 
|---|---|
| Language | Haskell2010 | 
Data.CQRS.Test.Internal.TestKitSettings
- 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.
Constructors
| TestKitSettings | |
Fields 
  | |
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.