Automatic testing of Haskell programs https://github.com/nick8325/quickcheck

Latest on Hackage:2.14.1

See all snapshots QuickCheck appears in

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

Module documentation for 2.9.2

This version can be pinned in stack with:QuickCheck-2.9.2@sha256:93cebf9f9c55e8a941bd3166272680d67b80d9b5d95bd836765e3d4a4ef278d0,5149

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.