Test.Hspec.Expectations

Setting expectations

type Expectation

shouldBe

shouldSatisfy

shouldReturn

Expecting exceptions

shouldThrow

Selecting exceptions

type Selector a

Predefined type-based selectors

anyException

anyErrorCall

anyIOException

anyArithException

Combinators for defining value-based selectors

errorCall