Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type MonadDocker m = m ~ TestContainer
- data TestContainer a
- runTestContainer :: Config -> TestContainer a -> IO a
- data Config = Config {}
Monad
type MonadDocker m = m ~ TestContainer Source #
Docker related functionality is parameterized over this Monad
. Since 0.4.0.0 this is
just a type alias for m ~
.TestContainer
Since: 0.1.0.0
data TestContainer a Source #
The heart and soul of the testcontainers library.
Since: 0.4.0.0
Instances
runTestContainer :: Config -> TestContainer a -> IO a Source #
Run a TestContainer
action. Any container spun up during the computation are guaranteed
to be shutdown and cleaned up once this function returns.
Since: 0.4.0.0
Runtime configuration
Configuration for defaulting behavior.
Since: 0.2.0.0
Config | |
|
Instances
MonadReader Config TestContainer Source # | |
Defined in TestContainers.Monad ask :: TestContainer Config # local :: (Config -> Config) -> TestContainer a -> TestContainer a # reader :: (Config -> a) -> TestContainer a # |