The smallcheck package

[ Tags: 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]

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, 1.1.2
Change log CHANGES.md
Dependencies base (==4.6.*), ghc-prim (>=0.2), logict, mtl, pretty [details]
License BSD3
Author Colin Runciman, Roman Cheplyaka
Maintainer Roman Cheplyaka <roma@ro-che.info>
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)
Uploaded Tue Feb 19 15:32:57 UTC 2013 by RomanCheplyaka
Updated Wed Jan 20 16:08:40 UTC 2016 by HerbertValerioRiedel to revision 1
Distributions Arch:1.1.2, Debian:1.1.1, Fedora:1.1.1, FreeBSD:1.1.1, LTSHaskell:1.1.2, NixOS:1.1.2, Stackage:1.1.2, Tumbleweed:1.1.1
Downloads 18670 total (417 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for smallcheck-1.0

[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: