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:
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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
2.14.3-150500.3.3.2 info | SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-572 | 2024-02-21 | 15 SP5 Subpackages Updates |
|
|
2.14.2-bp154.1.12 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
2.13.2-bp153.1.20 info | GA Release | 2021-04-08 | 15 SP3 |
|
|
2.13.2-bp152.1.14 info | GA Release | 2020-06-16 | 15 SP2 |
|
|
2.12.6.1-bp151.2.2 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
2.12.6.1-bp151.1.11 info | GA Release | 2019-05-31 | 15 SP1 |
|
|
2.9.2-bp150.2.4 info | GA Release | 2018-08-01 | 15 |
|
|
2.9.2-bp150.2.5 info | GA Release | 2018-07-30 | 15 |
|
|
2.8.2-2.5 info | 5585 | 2016-09-14 | 12 GA-SP5 |
|
|
2.8.2-2.14 info | 5585 | 2016-09-14 | 12 GA-SP5 |
|
|