tasty-discover-5.0.2: Test discovery for the tasty framework.

Safe Haskell | None
Language | Haskell2010

Test.Tasty.Discover

# Documentation

class Tasty a where Source #

Methods

tasty :: TastyInfo -> a -> IO TestTree Source #

#### Instances

Instances details

Tasty TestTree Source # |
Instance details Defined in Test.Tasty.Discover Methods tasty :: TastyInfo -> TestTree -> IO TestTree Source #
Tasty (IO TestTree) Source # |
Instance details Defined in Test.Tasty.Discover Methods tasty :: TastyInfo -> IO TestTree -> IO TestTree Source #
Tasty (IO [TestTree]) Source # |
Instance details Defined in Test.Tasty.Discover Methods tasty :: TastyInfo -> IO [TestTree] -> IO TestTree Source #
Tasty [TestTree] Source # |
Instance details Defined in Test.Tasty.Discover Methods tasty :: TastyInfo -> [TestTree] -> IO TestTree Source #

data TastyInfo Source #

#### Instances

Instances details

Monoid TastyInfo Source # |
Instance details Defined in Test.Tasty.Discover.TastyInfo Methods mempty :: TastyInfo Source # mappend :: TastyInfo -> TastyInfo -> TastyInfo Source # mconcat :: [TastyInfo] -> TastyInfo Source #
Semigroup TastyInfo Source # |
Instance details Defined in Test.Tasty.Discover.TastyInfo Methods (<>) :: TastyInfo -> TastyInfo -> TastyInfo Source # sconcat :: NonEmpty TastyInfo -> TastyInfo Source # stimes :: Integral b => b -> TastyInfo -> TastyInfo Source #
Generic TastyInfo Source # |

Instance details

Defined in Test.Tasty.Discover.TastyInfo

Associated Types

type Rep TastyInfo |

Instance details

Defined in Test.Tasty.Discover.TastyInfo

type Rep TastyInfo = D1 ('MetaData "TastyInfo" "Test.Tasty.Discover.TastyInfo" "tasty-discover-5.0.2-6rjTPUwNeYC1GOZUII5cak" 'False) (C1 ('MetaCons "TastyInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Last String)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Last String))))

Methods

from :: TastyInfo -> Rep TastyInfo x Source #

to :: Rep TastyInfo x -> TastyInfo Source #

Show TastyInfo Source # |
Instance details Defined in Test.Tasty.Discover.TastyInfo Methods showsPrec :: Int -> TastyInfo -> ShowS Source # show :: TastyInfo -> String Source # showList :: [TastyInfo] -> ShowS Source #
Eq TastyInfo Source # |
Instance details Defined in Test.Tasty.Discover.TastyInfo Methods (==) :: TastyInfo -> TastyInfo -> Bool Source # (/=) :: TastyInfo -> TastyInfo -> Bool Source #
type Rep TastyInfo Source # |

Instance details

Defined in Test.Tasty.Discover.TastyInfo

type Rep TastyInfo = D1 ('MetaData "TastyInfo" "Test.Tasty.Discover.TastyInfo" "tasty-discover-5.0.2-6rjTPUwNeYC1GOZUII5cak" 'False) (C1 ('MetaCons "TastyInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Last String)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Last String))))

name :: String -> TastyInfo Source #

description :: String -> TastyInfo Source #

nameOf :: TastyInfo -> String Source #

descriptionOf :: TastyInfo -> String Source #