monad-mock (hackage): 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.
Keywords: library|testing