Hoogle Search

Within LTS Haskell 22.19 (ghc-9.6.4)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Test.Hspec.Core.QuickCheck

    No documentation available.

  2. module Test.Hspec.Wai.QuickCheck

    No documentation available.

  3. QuickCheck :: Property -> Property

    quickcheck-simple Test.QuickCheck.Simple

    No documentation available.

  4. module Test.Predicates.QuickCheck

    QuickCheck integration for Predicate

  5. module Language.LSP.Protocol.QuickCheck

    Provides Arbitrary instances for protocol types.

  6. module Data.TreeDiff.QuickCheck

    QuickCheck related utilities.

  7. module Test.Sandwich.QuickCheck

    Functions for introducing QuickCheck tests into a Sandwich test tree. Modelled after Hspec's version. Documentation can be found here.

  8. module Hedgehog.Gen.QuickCheck

    Use QuickCheck generators and Arbitrary instances with Hedgehog.

  9. quickCheckAll :: Q Exp

    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!

  10. quickCheckResult :: Testable prop => prop -> IO Result

    QuickCheck Test.QuickCheck

    Tests a property, produces a test result, and prints the results to stdout.

Page 2 of many | Previous | Next