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.2.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.8.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.10.0.0 && <2.13), th-orphans, transformers, 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-08-01T21:51:59Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 3385 total (21 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-08-01 [all 1 reports] |