smallcheck: A property-based testing library

[ bsd3, library, testing ] [ Propose Tags ]

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]
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, 1.1.2, 1.1.3, 1.1.3.1, 1.1.4
Change log CHANGES.md
Dependencies base (>=4.5 && <4.7), ghc-prim (>=0.2), logict, mtl, pretty [details]
License BSD-3-Clause
Author Colin Runciman, Roman Cheplyaka
Maintainer Roman Cheplyaka <roma@ro-che.info>
Revised Revision 1 made by HerbertValerioRiedel at Wed Jan 20 16:07:02 UTC 2016
Category Testing
Home page https://github.com/feuerbach/smallcheck
Bug tracker https://github.com/feuerbach/smallcheck/issues
Source repo head: git clone git://github.com/feuerbach/smallcheck.git
this: git clone git://github.com/feuerbach/smallcheck.git(tag v1.0.3)
Uploaded by RomanCheplyaka at Sat Jun 29 11:32:42 UTC 2013
Distributions Arch:1.1.4, Debian:1.1.1, Fedora:1.1.3.1, FreeBSD:1.1.1, LTSHaskell:1.1.4, NixOS:1.1.4, Stackage:1.1.4, openSUSE:1.1.3.1
Downloads 24638 total (199 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for smallcheck-1.0.3

[back to package description]

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: