An expectation in the WaiSession monad. Failing expectations are
communicated through exceptions (similar to Expectation and
Test.HUnit.Base.Assertion).
Modulehspec-wai-0.11.1Haskell2010
Test.Hspec.Wai.Internal
- 2 types
- 6 values
- Packagehspec-wai-0.11.1
- Exports8
- LanguageHaskell2010
- LicenceMIT
- SourceInternal.hs
A WAI test session that carries the Application under test and some client state.
Constructors
WaiSessionunWaiSession :: ReaderT st Session a
Instances9Monad, Functor, MonadFail, Applicative, MonadIO, Example, …
Monad (WaiSession st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalFunctor (WaiSession st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalMonadFail (WaiSession st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalApplicative (WaiSession st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalMonadIO (WaiSession st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalExample (WaiExpectation st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.InternalTestable (WaiExpectation st)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.QuickChecktype Arg (WaiExpectation st) = (st, Application)Defined in hspec-wai-0.11.1 · Test.Hspec.Wai.Internaltype State (WaiExpectation st) = stDefined in hspec-wai-0.11.1 · Test.Hspec.Wai.QuickCheck