quickcheck-property-monad

A monad for generating QuickCheck properties without Arbitrary instances.

http://github.com/bennofs/quickcheck-property-monad/

Latest on Hackage:0.2.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Benno Fünfstück
Maintained by Benno Fünfstück

When your data has many invariants, it's often difficult to write Arbitrary instances for QuickCheck. This library attempts to solve that problem by providing a nice interface to write QuickCheck tests without using Arbitrary instances. It aims to be somewhere in the middle between HUnit and QuickCheck: Use the random test case generation of QuickCheck, but write HUnit like assertions.