Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- waiSpec :: Application -> TestDef l Port -> TestDef l ()
- waiSpecWith :: (forall r. (Application -> IO r) -> IO r) -> TestDef l Port -> TestDef l ()
- waiSpecWith' :: (forall r. (Application -> IO r) -> a -> IO r) -> TestDef l Port -> TestDef l a
- waiSpecWithSetupFunc :: SetupFunc a Application -> TestDef l Port -> TestDef l a
- applicationSetupFunc :: SetupFunc Application Port
- managerSpec :: TestDef (Manager ': l) a -> TestDef l a
Documentation
waiSpec :: Application -> TestDef l Port -> TestDef l () Source #
Run a given Application
around every test.
This provides the port on which the application is running.
waiSpecWith :: (forall r. (Application -> IO r) -> IO r) -> TestDef l Port -> TestDef l () Source #
Run a Application
around every test by setting it up with the given setup function.
This provides the port on which the application is running.
waiSpecWith' :: (forall r. (Application -> IO r) -> a -> IO r) -> TestDef l Port -> TestDef l a Source #
Run a Application
around every test by setting it up with the given setup function that can take an argument.
a
This provides the port on which the application is running.
waiSpecWithSetupFunc :: SetupFunc a Application -> TestDef l Port -> TestDef l a Source #
Run a Application
around every test by setting it up with the given SetupFunc
.
a
This provides the port on which the application is running.
applicationSetupFunc :: SetupFunc Application Port Source #
A SetupFunc
to run an application and provide its port.