QuickCheck-safe: Safe reimplementation of QuickCheck's core

[ library, mit, testing ] [ Propose Tags ]

QuickCheck-safe reimplements the quickCheck functionality with a pure interface and a very small trusted base (see Test.QuickCheck.Safe.Trusted).

  • uses the existing Arbitrary instances

  • implemented features: testing, result minimization (i.e., shrinking)

  • missing features: expected failures, label frequencies, coverage

The package is targeted at users who want to leverage SafeHaskell for sandboxing.

> putStr $ quickCheck (inventQCGen ()) (\x -> length (x :: [()]) < 10)
*** Failed! Falsifiable (after 18 tests and 3 shrinks):
[(),(),(),(),(),(),(),(),(),(),(),(),(),(),()]

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.1, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.0.6
Dependencies base (>=4.6 && <5), QuickCheck (>=2.7.3 && <2.9) [details]
License MIT
Copyright 2015 Bertram Felgenhauer
Author Bertram Felgenhauer
Maintainer Bertram Felgenhauer <int-e@gmx.de>
Revised Revision 3 made by BertramFelgenhauer at 2015-05-08T13:39:28Z
Category Testing
Source repo head: git clone https://github.com/int-e/QuickCheck-safe
Uploaded by BertramFelgenhauer at 2015-05-03T15:35:41Z
Distributions Arch:0.1.0.6, Debian:0.1.0.6, NixOS:0.1.0.6
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 6533 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-05-03 [all 1 reports]