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

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), QuickCheck (>=2.7.3 && <2.10) [details]
License MIT
Copyright 2015, 2017 Bertram Felgenhauer
Author Bertram Felgenhauer
Maintainer Bertram Felgenhauer <int-e@gmx.de>
Category Testing
Source repo head: git clone https://github.com/int-e/QuickCheck-safe
Uploaded by BertramFelgenhauer at 2017-02-19T22:18:21Z
Distributions Arch:0.1.0.6, Debian:0.1.0.6, NixOS:0.1.0.6
Reverse Dependencies 1 direct, 2 indirect [details]
Downloads 6503 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-19 [all 1 reports]