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.*), ghc-prim (>=0.2), logict, mtl, pretty [details]
LicenseBSD3
AuthorColin Runciman, Roman Cheplyaka
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 v1.1)
UploadedFri Nov 15 07:03:27 UTC 2013 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
Downloads11226 total (334 in last 30 days)
Votes
0 []
StatusDocs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for smallcheck-1.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: