smallcheck: test your Haskell code by exhaustively checking its properties
Haskell Shell
Failed to load latest commit information.
examples Add examples/generic.hs Jan 28, 2013
src/Test Added listSeries: \d -> list d series Jun 23, 2014
test Fix the tests Feb 9, 2014
.gitignore Update CREDITS Dec 11, 2011
LICENSE SmallCheck v0.2.1 Nov 17, 2011 README: maintainership information Feb 8, 2014
Setup.hs SmallCheck v0.4 Nov 17, 2011
smallcheck.cabal Move to src/ Feb 9, 2014

SmallCheck: a property-based testing library for Haskell

SmallCheck is a testing library that allows to verify properties for all test cases up to some depth. The test cases are generated automatically by SmallCheck.

Usefulness of such an approach to testing is based on the following observation:

If a program fails to meet its specification in some cases, it almost always fails in some simple case.

To get started with SmallCheck:


Roman Cheplyaka is the primary maintainer.

Oliver Charles is the backup maintainer. Please get in touch with him if the primary maintainer cannot be reached.