Hoogle Search
Within LTS Haskell 22.17 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Test.Hspec.Core.
QuickCheck No documentation available.
module Test.Hspec.Wai.
QuickCheck No documentation available.
QuickCheck :: Property -> Propertyquickcheck-simple Test.QuickCheck.Simple No documentation available.
module Test.Predicates.
QuickCheck QuickCheck integration for Predicate
module Data.TreeDiff.
QuickCheck QuickCheck related utilities.
module Test.Sandwich.
QuickCheck Functions for introducing QuickCheck tests into a Sandwich test tree. Modelled after Hspec's version. Documentation can be found here.
module Hedgehog.Gen.
QuickCheck Use QuickCheck generators and Arbitrary instances with Hedgehog.
-
QuickCheck Test.QuickCheck Test all properties in the current module. The name of the property must begin with prop_. Polymorphic properties will be defaulted to Integer. Returns True if all tests succeeded, False otherwise. To use quickCheckAll, add a definition to your module along the lines of
return [] runTests = $quickCheckAll
and then execute runTests. Note: the bizarre return [] in the example above is needed on GHC 7.8 and later; without it, quickCheckAll will not be able to find any of the properties. For the curious, the return [] is a Template Haskell splice that makes GHC insert the empty list of declarations at that point in the program; GHC typechecks everything before the return [] before it starts on the rest of the module, which means that the later call to quickCheckAll can see everything that was defined before the return []. Yikes! quickCheckResult :: Testable prop => prop -> IO ResultQuickCheck Test.QuickCheck Tests a property, produces a test result, and prints the results to stdout.
quickCheckWith :: Testable prop => Args -> prop -> IO ()QuickCheck Test.QuickCheck Tests a property, using test arguments, and prints the results to stdout.