Hoogle Search

Within LTS Haskell 23.24 (ghc-9.8.4)

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

  1. 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!

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

    QuickCheck Test.QuickCheck

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

  3. quickCheckWith :: Testable prop => Args -> prop -> IO ()

    QuickCheck Test.QuickCheck

    Tests a property, using test arguments, and prints the results to stdout.

  4. quickCheckWithResult :: Testable prop => Args -> prop -> IO Result

    QuickCheck Test.QuickCheck

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

  5. quickCheckAll :: Q Exp

    QuickCheck Test.QuickCheck.All

    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!

  6. quickCheckAll :: Q Exp

    massiv-test Test.Massiv.Utils

    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!

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

    massiv-test Test.Massiv.Utils

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

  8. quickCheckWith :: Testable prop => Args -> prop -> IO ()

    massiv-test Test.Massiv.Utils

    Tests a property, using test arguments, and prints the results to stdout.

  9. quickCheckWithResult :: Testable prop => Args -> prop -> IO Result

    massiv-test Test.Massiv.Utils

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

  10. quickCheck' :: Testable' prop => prop -> IO ()

    quickcheck-higherorder Test.QuickCheck.HigherOrder

    Variant of quickCheck using the alternative Testable'.

Page 4 of many | Previous | Next