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]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.2.1, 1.2.1.1 (info)
Change log CHANGELOG.md
Dependencies base (>=4.5 && <5), ghc-prim (>=0.2), logict (>=0.5), mtl (<2.3), pretty [details]
License BSD-3-Clause
Author Colin Runciman, Roman Cheplyaka
Maintainer Roman Cheplyaka <roma@ro-che.info>
Revised Revision 4 made by Bodigrim at 2023-06-22T19:35:54Z
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
Uploaded by RomanCheplyaka at 2017-08-08T16:28:34Z
Distributions Arch:1.2.1.1, Debian:1.1.7, Fedora:1.2.1.1, FreeBSD:1.1.1, LTSHaskell:1.2.1.1, NixOS:1.2.1.1, Stackage:1.2.1.1
Reverse Dependencies 25 direct, 146 indirect [details]
Downloads 49658 total (192 in the last 30 days)
Rating 2.0 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-08 [all 1 reports]

Readme for smallcheck-1.1.2

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

Maintainers

Roman Cheplyaka is the primary maintainer.

Oliver Charles is the backup maintainer. Please get in touch with him if the primary maintainer cannot be reached.