Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. unicodeAll :: MonadGen m => m Char

    hedgehog Hedgehog.Gen

    Generates a Unicode character, including noncharacters and invalid standalone surrogates: '0'..'1114111'

  2. tryAll :: MonadCatch m => m a -> m (Either SomeException a)

    hedgehog Hedgehog.Internal.Exception

    No documentation available.

  3. small :: MonadGen m => m a -> m a

    hedgehog Hedgehog.Internal.Gen

    Make a generator smaller by scaling its size parameter.

  4. unicodeAll :: MonadGen m => m Char

    hedgehog Hedgehog.Internal.Gen

    Generates a Unicode character, including noncharacters and invalid standalone surrogates: '0'..'1114111'

  5. forAll :: forall (m :: Type -> Type) a . (Monad m, Show a, HasCallStack) => Gen a -> PropertyT m a

    hedgehog Hedgehog.Internal.Property

    Generates a random input for the test by running the provided generator.

  6. forAllT :: forall (m :: Type -> Type) a . (Monad m, Show a, HasCallStack) => GenT m a -> PropertyT m a

    hedgehog Hedgehog.Internal.Property

    Generates a random input for the test by running the provided generator.

  7. forAllWith :: forall (m :: Type -> Type) a . (Monad m, HasCallStack) => (a -> String) -> Gen a -> PropertyT m a

    hedgehog Hedgehog.Internal.Property

    Generates a random input for the test by running the provided generator. This is a the same as forAll but allows the user to provide a custom rendering function. This is useful for values which don't have a Show instance.

  8. forAllWithT :: forall (m :: Type -> Type) a . (Monad m, HasCallStack) => (a -> String) -> GenT m a -> PropertyT m a

    hedgehog Hedgehog.Internal.Property

    Generates a random input for the test by running the provided generator. This is a the same as forAllT but allows the user to provide a custom rendering function. This is useful for values which don't have a Show instance.

  9. journalLogs :: Journal -> [Log]

    hedgehog Hedgehog.Internal.Property

    No documentation available.

  10. checkParallel :: MonadIO m => Group -> m Bool

    hedgehog Hedgehog.Internal.Runner

    Check a group of properties in parallel. Warning: although this check function runs tests faster than checkSequential, it should be noted that it may cause problems with properties that are not self-contained. For example, if you have a group of tests which all use the same database table, you may find that they interfere with each other when being run in parallel. Using Template Haskell for property discovery:

    tests :: IO Bool
    tests =
    checkParallel $$(discover)
    
    With manually specified properties:
    tests :: IO Bool
    tests =
    checkParallel $ Group "Test.Example" [
    ("prop_reverse", prop_reverse)
    ]
    

Page 222 of many | Previous | Next