QuickCheck-2.8.2: Automatic testing of Haskell programs

# QuickCheck-2.8.2: Automatic testing of Haskell programs

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.

You can find a (slightly out-of-date but useful) manual at http://www.cse.chalmers.se/~rjmh/QuickCheck/manual.html.

Signatures

Modules

- Test
  - Test.QuickCheck
    - Test.QuickCheck.All
    - Test.QuickCheck.Arbitrary
    - Test.QuickCheck.Exception
    - Test.QuickCheck.Function
    - 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