QuickCheck-safe

Safe reimplementation of QuickCheck's core

Version on this page:0.1.0.1
LTS Haskell 3.22:0.1.0.1
Stackage Nightly 2015-12-08:0.1.0.1
Latest on Hackage:0.1.0.3
MIT licensed by Bertram Felgenhauer
Maintained by Bertram Felgenhauer

Module documentation for 0.1.0.1

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):
[(),(),(),(),(),(),(),(),(),(),(),(),(),(),()]

Changes

QuickCheck-safe 0.1.0.3
* compatibility with QuickCheck 2.10

QuickCheck-safe 0.1.0.2
* compatibility with QuickCheck 2.9

QuickCheck-safe 0.1.0.1
* compatibility with QuickCheck 2.7

QuickCheck-safe 0.1
* initial release
Depends on:
Used by 1 package:
comments powered byDisqus