The QuickCheck package

[Tags: bsd3, library]

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.


[Skip to ReadMe]

Properties

Versions1.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
Change logNone available
Dependenciesbase (<4.5), extensible-exceptions, ghc, random, template-haskell (>=2.4) [details]
LicenseBSD3
Copyright2000-2011 Koen Claessen, 2006-2008 Bj¶rn Bringert, 2009-2001 Nick Smallbone
AuthorKoen Claessen <koen@chalmers.se>
MaintainerQuickCheck developers <quickcheck@projects.haskell.org>
CategoryTesting
Home pagehttp://code.haskell.org/QuickCheck
Bug trackermailto:quickcheck@projects.haskell.org
Source repositoryhead: darcs get http://code.haskell.org/QuickCheck/
this: darcs get http://code.haskell.org/QuickCheck --tag 2.4.1
UploadedTue Apr 26 18:57:18 UTC 2011 by NickSmallbone
UpdatedMon Dec 29 23:05:37 UTC 2014 by HerbertValerioRiedel to revision 1
DistributionsDebian:2.8.1, Fedora:2.6, FreeBSD:2.8.1, LTSHaskell:2.8.1, NixOS:2.8.1, Stackage:2.8.1
Downloads171759 total (1478 in last 30 days)
Votes
2 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
base3Choose the new smaller, split-up base package.EnabledAutomatic
base4Choose the even newer base package with extensible exceptions.EnabledAutomatic
templatehaskellBuild Test.QuickCheck.All, which uses Template Haskell.EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for QuickCheck-2.4.1

This is QuickCheck 2.4.1, a library for random testing of program properties.

=== Installation ===

Installation is done with Cabal:

$ cabal install

or, if you're missing the cabal command,

$ runghc Setup.lhs configure
$ runghc Setup.lhs build
$ runghc Setup.lhs install

If you get errors about Template Haskell, try

$ cabal install -f-templateHaskell

=== Bugs ===

Please report bugs to the QuickCheck mailing list at
quickcheck@projects.haskell.org.

=== Documentation ===

$ runghc Setup.lhs haddock

generates API documentation in dist/doc/html/index.html