HMock: A flexible mock framework for testing effectful code.

[ bsd3, library, testing ] [ Propose Tags ]

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.

Versions [RSS] [faq] 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.3.0.0
Change log CHANGELOG.md
Dependencies base (>=4.11.0 && <4.16), constraints (==0.13.*), containers (>=0.6.2 && <0.7), data-default (>=0.7.1 && <0.8), exceptions (>=0.10.4 && <0.11), extra (>=1.7.9 && <1.8), monad-control (>=1.0.2 && <1.1), mono-traversable (>=1.0.15 && <1.1), mtl (>=2.2.2 && <2.3), regex-tdfa (>=1.3.1 && <1.4), stm (>=2.5.0 && <2.6), syb (>=0.7.2 && <0.8), template-haskell (>=2.13.0 && <2.18), transformers-base (>=0.4.5 && <0.5), unliftio (>=0.2.18 && <0.3) [details]
License BSD-3-Clause
Author Chris Smith <cdsmith@gmail.com>
Maintainer Chris Smith <cdsmith@gmail.com>
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-06-30T05:30:27Z
Distributions NixOS:0.3.0.0
Downloads 187 total (88 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-06-30 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates