HMock: A flexible mock framework for testing effectful code.
HMock is a flexible mock framework for testing effectful code in Haskell. Tests can set up expectations about actions that can or should be performed and their results, and then verify those expectations when the test is complete.
For more information, see the module documentation for Test.HMock.
Downloads
- HMock-0.5.1.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.5.0.0, 0.5.1.0, 0.5.1.2 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.11.0 && <4.19), constraints (>=0.13 && <0.14), containers (>=0.6.2 && <0.7), data-default (>=0.7.1 && <0.8), exceptions (>=0.10.4 && <0.11), explainable-predicates (>=0.1 && <0.2), extra (>=1.7.9 && <1.8), monad-control (>=1.0.2 && <1.1), mtl (>=2.2.2 && <2.4), stm (>=2.5.0 && <2.6), syb (>=0.7.2 && <0.8), template-haskell (>=2.14 && <2.21), transformers-base (>=0.4.5 && <0.5), unliftio (>=0.2.18 && <0.3) [details] |
Tested with | ghc ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 |
License | BSD-3-Clause |
Author | Chris Smith <cdsmith@gmail.com> |
Maintainer | Chris Smith <cdsmith@gmail.com> |
Revised | Revision 1 made by Bodigrim at 2023-08-04T19:17:59Z |
Category | Testing |
Home page | https://github.com/cdsmith/HMock |
Bug tracker | https://github.com/cdsmith/HMock/issues |
Source repo | head: git clone git://github.com/cdsmith/HMock.git |
Uploaded | by ChrisSmith at 2021-12-21T05:25:29Z |
Distributions | LTSHaskell:0.5.1.2, NixOS:0.5.1.2, Stackage:0.5.1.2 |
Downloads | 1811 total (24 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2021-12-21 [all 1 reports] |