QuickCheck: Automatic testing of Haskell programs

[ bsd3, library, testing ] [ Propose Tags ]

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.

Versions 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 (info)
Dependencies base (<4), mtl, random [details]
License BSD-3-Clause
Copyright Koen Claessen <koen@cs.chalmers.se>
Author Koen Claessen <koen@cs.chalmers.se>
Maintainer Koen Claessen <koen@cs.chalmers.se>
Revised Revision 1 made by HerbertValerioRiedel at Mon Dec 29 23:21:47 UTC 2014
Category Testing
Home page http://www.haskell.org/QuickCheck/
Uploaded by KoenClaessen at Sat Sep 27 16:32:33 UTC 2008
Distributions Arch:2.11.3, Debian:2.8.1, Fedora:2.10.1, FreeBSD:2.8.1, LTSHaskell:2.11.3, NixOS:2.12.4, Stackage:2.11.3, openSUSE:2.11.3
Downloads 323192 total (1172 in the last 30 days)
Rating 2.75 (votes: 10) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-12 [all 9 reports]
Hackage Matrix CI

Modules

  • Test
    • Test.QuickCheck
      • Test.QuickCheck.Arbitrary
      • Test.QuickCheck.Function
      • Test.QuickCheck.Gen
      • Test.QuickCheck.Monadic
      • Test.QuickCheck.Poly
      • Test.QuickCheck.Property
      • Test.QuickCheck.State
      • Test.QuickCheck.Test
      • Test.QuickCheck.Text

Flags

NameDescriptionDefaultType
splitbase

Choose the new smaller, split-up base package.

EnabledAutomatic

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

Downloads

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