monad-mock-0.2.0.0: A monad transformer for mocking mtl-style typeclasses

monad-mock-0.2.0.0: A monad transformer for mocking mtl-style typeclasses

This package provides a monad transformer that helps create “mocks” of mtl-style typeclasses, intended for use in unit tests. A mock can be executed by providing a sequence of expected monadic calls and their results, and the mock will verify that the computation conforms to the expectation.

For more information, see the module documentation for Control.Monad.Mock.

Signatures

Modules