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.5 && <4.7), ghc-prim (>=0.2), logict, mtl, pretty [details]
License BSD3
Author Colin Runciman, Roman Cheplyaka
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 v1.0.4)
Uploaded Sun Jun 30 14:00:49 UTC 2013 by RomanCheplyaka
Updated Wed Jan 20 16:07:52 UTC 2016 by HerbertValerioRiedel to revision 1
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, Tumbleweed:1.1.1
Downloads 12269 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-1.0.4

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: