Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type DbErrors = [Stop DbConnectionError, Stop DbError, Stop QueryError, Stop Text, Error InitDbError, Error DbError] Source #
type TestEffects = DbErrors ++ [GhcTime, Random UUID, Log, Error Text, Mask, Race, Async, Test, Fail, Error TestError, Hedgehog IO, Error Failure, Embed IO, Resource, Final IO] Source #
runIntegrationTestWith :: Members [Error Text, Embed IO] r => HasCallStack => String -> Text -> (DbConfig -> Sem (DbErrors ++ r) ()) -> Sem r () Source #
integrationTestWith :: HasCallStack => String -> Text -> (DbConfig -> Sem TestEffects ()) -> TestT IO () Source #
integrationTest :: HasCallStack => String -> Text -> Sem (TestConnectionEffects ++ TestEffects) () -> TestT IO () Source #