Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
HTF Test.Framework.TestTypes No documentation available.
polyQuickCheck :: Name -> ExpQQuickCheck Test.QuickCheck Test a polymorphic property, defaulting all type variables to Integer. Invoke as $(polyQuickCheck 'prop), where prop is a property. Note that just evaluating quickCheck prop in GHCi will seem to work, but will silently default all type variables to ()! $(polyQuickCheck 'prop) means the same as quickCheck $(monomorphic 'prop). If you want to supply custom arguments to polyQuickCheck, you will have to combine quickCheckWith and monomorphic yourself. If you want to use polyQuickCheck in the same file where you defined the property, the same scoping problems pop up as in quickCheckAll: see the note there about return [].
polyQuickCheck :: Name -> ExpQQuickCheck Test.QuickCheck.All Test a polymorphic property, defaulting all type variables to Integer. Invoke as $(polyQuickCheck 'prop), where prop is a property. Note that just evaluating quickCheck prop in GHCi will seem to work, but will silently default all type variables to ()! $(polyQuickCheck 'prop) means the same as quickCheck $(monomorphic 'prop). If you want to supply custom arguments to polyQuickCheck, you will have to combine quickCheckWith and monomorphic yourself. If you want to use polyQuickCheck in the same file where you defined the property, the same scoping problems pop up as in quickCheckAll: see the note there about return [].
-
QuickCheck support for the Tasty test framework. QuickCheck support for the Tasty test framework.
polyQuickCheck :: Name -> ExpQtasty-quickcheck Test.Tasty.QuickCheck Test a polymorphic property, defaulting all type variables to Integer. Invoke as $(polyQuickCheck 'prop), where prop is a property. Note that just evaluating quickCheck prop in GHCi will seem to work, but will silently default all type variables to ()! $(polyQuickCheck 'prop) means the same as quickCheck $(monomorphic 'prop). If you want to supply custom arguments to polyQuickCheck, you will have to combine quickCheckWith and monomorphic yourself. If you want to use polyQuickCheck in the same file where you defined the property, the same scoping problems pop up as in quickCheckAll: see the note there about return [].
package
test-framework-quickcheck2 QuickCheck-2 support for the test-framework package. Allows QuickCheck-2 properties to be used with the test-framework package.
configQuickCheckMaxDiscardRatio :: Config -> Maybe Inthspec-core Test.Hspec.Core.Extension.Config No documentation available.
configQuickCheckMaxShrinks :: Config -> Maybe Inthspec-core Test.Hspec.Core.Extension.Config No documentation available.
configQuickCheckMaxSize :: Config -> Maybe Inthspec-core Test.Hspec.Core.Extension.Config No documentation available.
configQuickCheckMaxSuccess :: Config -> Maybe Inthspec-core Test.Hspec.Core.Extension.Config No documentation available.