Test.Hspec.Expectations.Pretty

Setting expectations

type Expectation

expectationFailure

shouldBe

shouldSatisfy

shouldStartWith

shouldEndWith

shouldContain

shouldMatchList

shouldReturn

shouldNotBe

shouldNotSatisfy

shouldNotContain

shouldNotReturn

Expecting exceptions

shouldThrow

Selecting exceptions

type Selector a

Predefined type-based selectors

anyException

anyErrorCall

anyIOException

anyArithException

Combinators for defining value-based selectors

errorCall