Package Info

ghc-QuickCheck


Automatic testing of Haskell programs


Unspecified

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 <http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html official

QuickCheck manual>. It's a bit out-of-date in some details and doesn't cover newer QuickCheck features, but is still full of good advice. * <https://begriffs.com/posts/2017-01-14-design-use-quickcheck.html>, a detailed tutorial written by a user of QuickCheck.

The <https://hackage.haskell.org/package/quickcheck-instances quickcheck-instances> companion package provides instances for types in Haskell Platform packages at the cost of additional dependencies.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/QuickCheck

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
2.14.2-150500.1.1 info GA Release 2022-12-13 15 SP5 Subpackages
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.14.2-bp154.1.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.13.2-bp153.1.20 info GA Release 2021-04-08 15 SP3
  • AArch64
  • ppc64le
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.13.2-bp152.1.14 info GA Release 2020-06-16 15 SP2
  • AArch64
  • ppc64le
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.12.6.1-bp151.2.2 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.12.6.1-bp151.1.11 info GA Release 2019-05-31 15 SP1
  • AArch64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.9.2-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.9.2-bp150.2.5 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.8.2-2.5 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-QuickCheck
  • ghc-QuickCheck-devel
2.8.2-2.14 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-QuickCheck
  • ghc-QuickCheck-devel