-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Unit test framework (built on HUnit) for WAI applications.
--   
--   Unit test framework (built on HUnit) for WAI applications.
@package wai-test
@version 1.3.0.5

module Network.Wai.Test
type Session = ReaderT Application (StateT ClientState IO)
runSession :: Session a -> Application -> IO a
request :: Request -> Session SResponse
srequest :: SRequest -> Session SResponse
data SRequest
SRequest :: Request -> ByteString -> SRequest
simpleRequest :: SRequest -> Request
simpleRequestBody :: SRequest -> ByteString
data SResponse
SResponse :: Status -> ResponseHeaders -> ByteString -> SResponse
simpleStatus :: SResponse -> Status
simpleHeaders :: SResponse -> ResponseHeaders
simpleBody :: SResponse -> ByteString
defaultRequest :: Request
setRawPathInfo :: Request -> ByteString -> Request
assertStatus :: Int -> SResponse -> Session ()
assertContentType :: ByteString -> SResponse -> Session ()
assertBody :: ByteString -> SResponse -> Session ()
assertBodyContains :: ByteString -> SResponse -> Session ()
assertHeader :: CI ByteString -> ByteString -> SResponse -> Session ()
assertNoHeader :: CI ByteString -> SResponse -> Session ()
instance Show SResponse
instance Eq SResponse
