quickcheck-with-counterexamples: Get counterexamples from QuickCheck as Haskell values
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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 Test.QuickCheck.Counterexamples.quickCheck
and
related functions are changed to include a counterexample.
For usage information, see the Test.QuickCheck.Counterexamples module.
[Skip to Readme]
Properties
Versions | 1.0, 1.1, 1.1, 1.2 |
---|---|
Change log | None available |
Dependencies | base (>=4 && <5), QuickCheck (>=2.12), template-haskell [details] |
License | BSD-3-Clause |
Author | Nick Smallbone |
Maintainer | nick@smallbone.se |
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 2018-09-03T07:42:49Z |
Modules
[Index] [Quick Jump]
- Test
- QuickCheck
Downloads
- quickcheck-with-counterexamples-1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees