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

Versions0.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 logCHANGES.md
Dependenciesbase (==4.*), dlist (>=0.2 && <0.6), ghc-prim (>=0.2) [details]
LicenseBSD3
AuthorColin Runciman
MaintainerRoman Cheplyaka <roma@ro-che.info>
StabilityBeta
CategoryTesting
Home pagehttps://github.com/feuerbach/smallcheck
Bug trackerhttps://github.com/feuerbach/smallcheck/issues
Source repositoryhead: git clone git://github.com/feuerbach/smallcheck.git
this: git clone git://github.com/feuerbach/smallcheck.git(tag v0.6)
UploadedSun Dec 11 11:08:55 UTC 2011 by RomanCheplyaka
DistributionsDebian:1.1.1, Fedora:1.1.1, FreeBSD:1.1.1, LTSHaskell:1.1.1, NixOS:1.1.1, Stackage:1.1.1
Downloads10886 total (368 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for smallcheck-0.6

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: