hspec-wai-0.3.0.1: Experimental Hspec support for testing WAI applications (depends on hspec2!)

Safe HaskellNone

Test.Hspec.Wai.Internal

Synopsis

Documentation

type WaiExpectation = WaiSession ()Source

An expectation in the WaiSession monad. Failing expectations are communicated through exceptions (similar to Expectation and Assertion).

newtype WaiSession a Source

A WAI test session that carries the Application under test an some client state.

Constructors

WaiSession 

Fields

unWaiSession :: Session a