BSD-3-Clause licensed by Koen Claessen
Maintained by QuickCheck developers

Module documentation for 2.7.6

This version can be pinned in stack with:[email protected]:45ff46338dca0616041adade28d6b49d6a3ea810ba5dff619b2abdcbe7c93035,4748
  • Test
    • Test.QuickCheck
      • Test.QuickCheck.Arbitrary
      • Test.QuickCheck.Exception
      • Test.QuickCheck.Gen
        • Test.QuickCheck.Gen.Unsafe
      • Test.QuickCheck.Modifiers
      • Test.QuickCheck.Monadic
      • Test.QuickCheck.Poly
      • Test.QuickCheck.Property
      • Test.QuickCheck.Random
      • Test.QuickCheck.State
      • Test.QuickCheck.Test
      • Test.QuickCheck.Text

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.