QuickCheck-safe: Safe reimplementation of QuickCheck's core

[ library, mit, testing ] [ Propose Tags ] [ Report a vulnerability ]

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
Change log Changelog
Dependencies base (>=4.6 && <5), containers (>=0.5 && <0.7), QuickCheck (>=2.7.3 && <2.15) [details]
License MIT
Copyright 2015,2017 Bertram Felgenhauer
Author Bertram Felgenhauer
Maintainer Bertram Felgenhauer <int-e@gmx.de>
Revised Revision 1 made by BertramFelgenhauer at 2020-04-15T14:57:27Z
Category Testing
Source repo head: git clone https://github.com/int-e/QuickCheck-safe
Uploaded by BertramFelgenhauer at 2019-04-29T14:48:29Z
Distributions Arch:0.1.0.6, Debian:0.1.0.6, NixOS:0.1.0.6
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 6703 total (36 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-04-29 [all 1 reports]