chell-quickcheck-0.1.0.1: QuickCheck support for Chell, a quiet test runner

Test.Chell.QuickCheck

Synopsis

Documentation

property :: Testable prop => Text -> prop -> SuiteSource

Convert a QuickCheck property to a Chell Suite.

import Test.Chell
import Test.Chell.QuickCheck
import Test.QuickCheck hiding (property)

tests :: [Suite]
tests =
    [ suite "foo"
        [ property "bar" (xs -> not (null xs) ==> length xs > 0)
        ]
    ]