QuickCheck: Automatic testing of Haskell programs

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.

[maintain]

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 provided by QuickCheck. QuickCheck provides combinators to define properties, observe the distribution of test data, and define test data generators.

Most of QuickCheck's functionality is exported by the main Test.QuickCheck module. The main exception is the monadic property testing library in Test.QuickCheck.Monadic.

If you are new to QuickCheck, you can try looking at the following resources:

The quickcheck-instances companion package provides instances for types in Haskell Platform packages at the cost of additional dependencies.


[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, 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.1, 2.12.2, 2.12.3, 2.12.4
Change logchangelog
Dependenciesbase (>=4.3 && <5), containers, deepseq, erf (>=2), ghc-prim, old-locale, old-time, random, template-haskell (>=2.4), tf-random (>=0.4), transformers (>=0.3) [details]
LicenseBSD-3-Clause
Copyright2000-2018 Koen Claessen, 2006-2008 Björn Bringert, 2009-2018 Nick Smallbone
AuthorKoen Claessen <koen@chalmers.se>
MaintainerNick Smallbone <nick@smallbone.se>
CategoryTesting
Home pagehttps://github.com/nick8325/quickcheck
Bug trackerhttps://github.com/nick8325/quickcheck/issues
Source repositoryhead: git clone https://github.com/nick8325/quickcheck
this: git clone https://github.com/nick8325/quickcheck(tag 2.12.1)
UploadedThu Sep 6 13:08:45 UTC 2018 by NickSmallbone

Modules

[Index]

Flags

NameDescriptionDefaultType
templatehaskell

Build 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.12.1

[back to package description]
This is QuickCheck 2, a library for random testing of program properties.

Install it in the usual way:

$ cabal install

The quickcheck-instances [1] companion package provides instances for types in
Haskell Platform packages at the cost of additional dependencies.

[1]: http://hackage.haskell.org/package/quickcheck-instances