quickcheck-with-counterexamples: Get counterexamples from QuickCheck as Haskell values
When QuickCheck finds a counterexample, it prints it out but doesn't save it so that the programmer can access it. This can be annoying when debugging.
This library provides a small extension to QuickCheck that returns
counterexamples as normal Haskell values. To use it, just import
Test.QuickCheck.Counterexamples instead of Test.QuickCheck
.
The library is largely compatible with normal QuickCheck, but the
return types of quickCheck
and
related functions are changed to include a counterexample.
For usage information, see the Test.QuickCheck.Counterexamples module.
[Skip to Readme]
Downloads
- quickcheck-with-counterexamples-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
Versions [RSS] | 1.0, 1.1, 1.2 |
---|---|
Dependencies | base (>=4 && <5), QuickCheck, template-haskell [details] |
License | BSD-3-Clause |
Author | Nick Smallbone |
Maintainer | nick@smallbone.se |
Revised | Revision 3 made by NickSmallbone at 2017-01-16T01:05:23Z |
Category | Testing |
Home page | http://www.github.com/nick8325/quickcheck-with-counterexamples |
Source repo | head: git clone https://github.com/nick8325/quickcheck-with-counterexamples this: git clone https://github.com/nick8325/quickcheck-with-counterexamples(tag 1.0) |
Uploaded | by NickSmallbone at 2017-01-15T21:10:26Z |
Distributions | NixOS:1.2 |
Reverse Dependencies | 2 direct, 1 indirect [details] |
Downloads | 2524 total (0 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-01-15 [all 1 reports] |