Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data AutoCollectConfig' f = AutoCollectConfig {
- cfgImports :: Apply f [FilePath]
- cfgSuiteName :: Apply f (Maybe Text)
- cfgGroupType :: Apply f AutoCollectGroupType
- cfgStripSuffix :: Apply f Text
- cfgIngredients :: Apply f [Text]
- cfgIngredientsOverride :: Apply f Bool
- cfgCustomMain :: Apply f Bool
- type AutoCollectConfig = AutoCollectConfig' Identity
- type AutoCollectConfigPartial = AutoCollectConfig' Maybe
- data AutoCollectGroupType
- parseConfig :: Text -> Either Text AutoCollectConfigPartial
- resolveConfig :: FilePath -> AutoCollectConfigPartial -> IO AutoCollectConfig
Documentation
data AutoCollectConfig' f Source #
Configuration for generating the Main module, specified as a block comment.
AutoCollectConfig | |
|
Instances
Monoid AutoCollectConfigPartial Source # | |
Semigroup AutoCollectConfigPartial Source # | Config on RHS overrides config on LHS. |
Show AutoCollectConfig Source # | |
Defined in Test.Tasty.AutoCollect.Config showsPrec :: Int -> AutoCollectConfig -> ShowS # show :: AutoCollectConfig -> String # showList :: [AutoCollectConfig] -> ShowS # | |
Show AutoCollectConfigPartial Source # | |
Defined in Test.Tasty.AutoCollect.Config showsPrec :: Int -> AutoCollectConfigPartial -> ShowS # show :: AutoCollectConfigPartial -> String # showList :: [AutoCollectConfigPartial] -> ShowS # | |
Eq AutoCollectConfig Source # | |
Defined in Test.Tasty.AutoCollect.Config (==) :: AutoCollectConfig -> AutoCollectConfig -> Bool # (/=) :: AutoCollectConfig -> AutoCollectConfig -> Bool # | |
Eq AutoCollectConfigPartial Source # | |
Defined in Test.Tasty.AutoCollect.Config |
data AutoCollectGroupType Source #
AutoCollectGroupFlat | All tests will be flattened like test1 test2 test3 |
AutoCollectGroupModules | Tests will be grouped by module MyModule.MyTest1 test1 test2 MyModule.MyTest2 test3 |
AutoCollectGroupTree | Test modules will be grouped as a tree MyModule MyTest1 test1 test2 MyTest2 test3 |
Instances
Show AutoCollectGroupType Source # | |
Defined in Test.Tasty.AutoCollect.Config showsPrec :: Int -> AutoCollectGroupType -> ShowS # show :: AutoCollectGroupType -> String # showList :: [AutoCollectGroupType] -> ShowS # | |
Eq AutoCollectGroupType Source # | |
Defined in Test.Tasty.AutoCollect.Config (==) :: AutoCollectGroupType -> AutoCollectGroupType -> Bool # (/=) :: AutoCollectGroupType -> AutoCollectGroupType -> Bool # |