monad-mock: 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.
[Skip to Readme]
Modules
[Index]
- Control
- Monad
- Control.Monad.Mock
- Control.Monad.Mock.TH
- Internal
- Control.Monad.Mock.TH.Internal.TypesQuasi
- Internal
- Control.Monad.Mock.TH
- Control.Monad.Mock
- Monad
Downloads
- monad-mock-0.1.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.2.0.0 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.9.0.0 && <5), constraints (>=0.3.1), exceptions (>=0.6), haskell-src-exts, haskell-src-meta, monad-control (>=1.0.0.0 && <2), mtl, template-haskell (>=2.11.0.0 && <2.13), th-orphans, transformers-base [details] |
License | ISC |
Copyright | 2017 CJ Affiliate by Conversant |
Author | Alexis King <lexi.lambda@gmail.com> |
Maintainer | Alexis King <lexi.lambda@gmail.com> |
Category | Testing |
Home page | https://github.com/cjdev/monad-mock#readme |
Bug tracker | https://github.com/cjdev/monad-mock/issues |
Source repo | head: git clone https://github.com/cjdev/monad-mock |
Uploaded | by lexi_lambda at 2017-06-28T22:16:41Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3387 total (12 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2017-06-28 [all 1 reports] |