QuickCheck: Automatic testing of Haskell programs
QuickCheck is a library for random testing of program properties.
The programmer provides a specification of the program, in the form of properties which functions should satisfy, and QuickCheck then tests that the properties hold in a large number of randomly generated cases.
Specifications are expressed in Haskell, using combinators defined in the QuickCheck library. QuickCheck provides combinators to define properties, observe the distribution of test data, and define test data generators.
You can find a (slightly out-of-date but useful) manual at http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html.
[Skip to Readme]
Modules
[Index]
- Test
- Test.QuickCheck
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
base3 | Choose the new smaller, split-up base package. | Enabled |
base4 | Choose the even newer base package with extensible exceptions. | Enabled |
base4point8 | Choose the even more newer base package with natural numbers. | Enabled |
templatehaskell | Build Test.QuickCheck.All, which uses Template Haskell. | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- QuickCheck-2.8.1.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.0.0, 1.2.0.0, 1.2.0.1, 2.1, 2.1.0.1, 2.1.0.2, 2.1.0.3, 2.1.1, 2.1.1.1, 2.1.2, 2.2, 2.3, 2.3.0.1, 2.3.0.2, 2.4, 2.4.0.1, 2.4.1, 2.4.1.1, 2.4.2, 2.5, 2.5.1, 2.5.1.1, 2.6, 2.7, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.7.5, 2.7.6, 2.8, 2.8.1, 2.8.2, 2.9, 2.9.1, 2.9.2, 2.10, 2.10.0.1, 2.10.1, 2.11, 2.11.1, 2.11.2, 2.11.3, 2.12, 2.12.1, 2.12.2, 2.12.3, 2.12.4, 2.12.5, 2.12.6, 2.12.6.1, 2.13, 2.13.1, 2.13.2, 2.14, 2.14.1, 2.14.2, 2.14.3, 2.15, 2.15.0.1 (info) |
---|---|
Change log | changelog |
Dependencies | base (<4.13), containers, extensible-exceptions, ghc, ghc-prim, old-locale, old-time, random (>=1.0.1.0 && <1.2), template-haskell (>=2.4 && <2.11), tf-random (>=0.4), transformers (>=0.2) [details] |
Tested with | ghc >=6.10, hugs >=0, uhc >=0 |
License | BSD-3-Clause |
Copyright | 2000-2015 Koen Claessen, 2006-2008 Björn Bringert, 2009-2015 Nick Smallbone |
Author | Koen Claessen <koen@chalmers.se> |
Maintainer | QuickCheck developers <quickcheck@projects.haskell.org> |
Revised | Revision 3 made by phadej at 2019-05-22T20:54:45Z |
Category | Testing |
Home page | https://github.com/nick8325/quickcheck |
Bug tracker | mailto:quickcheck@projects.haskell.org |
Source repo | head: git clone https://github.com/nick8325/quickcheck this: git clone https://github.com/nick8325/quickcheck(tag 2.8.1) |
Uploaded | by NickSmallbone at 2015-04-03T12:23:25Z |
Distributions | Arch:2.14.3, Debian:2.13.2, Fedora:2.14.3, FreeBSD:2.8.1, LTSHaskell:2.14.3, NixOS:2.14.3, Stackage:2.15.0.1, openSUSE:2.14.3 |
Reverse Dependencies | 795 direct, 8020 indirect [details] |
Downloads | 439883 total (797 in the last 30 days) |
Rating | 2.75 (votes: 20) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2015-04-03 [all 1 reports] |