The smallcheck package

[Tags:bsd3, library]

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.


[Skip to Readme]

Properties

Versions 0.2.1, 0.4, 0.5, 0.6, 0.6.1, 0.6.2, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1, 1.1.0.1, 1.1.1
Change log CHANGES.md
Dependencies base (==4.*), dlist (>=0.2 && <0.6), ghc-prim (>=0.2) [details]
License BSD3
Author Colin Runciman
Maintainer Roman Cheplyaka <roma@ro-che.info>
Stability Beta
Category Testing
Home page https://github.com/feuerbach/smallcheck
Bug tracker https://github.com/feuerbach/smallcheck/issues
Source repository head: git clone git://github.com/feuerbach/smallcheck.git
this: git clone git://github.com/feuerbach/smallcheck.git(tag v0.6.1)
Uploaded Sat Feb 18 14:07:20 UTC 2012 by RomanCheplyaka
Distributions Debian:1.1.1, Fedora:1.1.1, FreeBSD:1.1.1, LTSHaskell:1.1.1, NixOS:1.1.1, Stackage:1.1.1
Downloads 12151 total (44 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for smallcheck

Readme for smallcheck-0.6.1

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: