chell-quickcheck-0.1: Quiet test runner (QuickCheck support)

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)
        ]
    ]