-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Test discovery for the tasty framework.
--   
--   Automatic test discovery and runner for the tasty framework. Prefix
--   your test case names and tasty-discover will discover, collect and run
--   them. All popular test libraries are covered. Configure once and then
--   just write your tests. Avoid forgetting to add test modules to your
--   Cabal/Hpack files. Tasty ingredients are included along with various
--   configuration options for different use cases. Please see the
--   <a>README.md</a> below for how to get started.
@package tasty-discover
@version 3.0.2

module Test.Tasty.Generator
data Generator
Generator :: String -> String -> String -> (Test -> String) -> Generator
[generatorPrefix] :: Generator -> String
[generatorImport] :: Generator -> String
[generatorClass] :: Generator -> String
[generatorSetup] :: Generator -> Test -> String
generators :: [Generator]
showSetup :: Test -> String -> String
getGenerator :: Test -> Generator
getGenerators :: [Test] -> [Generator]
data Test
Test :: String -> String -> Test
[testModule] :: Test -> String
[testFunction] :: Test -> String
mkTest :: FilePath -> String -> Test
instance GHC.Show.Show Test.Tasty.Generator.Test
instance GHC.Classes.Eq Test.Tasty.Generator.Test

module Test.Tasty.Config
data Config
Config :: Maybe String -> Maybe String -> [FilePath] -> [Ingredient] -> Bool -> Bool -> Bool -> Config
[moduleSuffix] :: Config -> Maybe String
[generatedModuleName] :: Config -> Maybe String
[ignoredModules] :: Config -> [FilePath]
[tastyIngredients] :: Config -> [Ingredient]
[noModuleSuffix] :: Config -> Bool
[debug] :: Config -> Bool
[treeDisplay] :: Config -> Bool

-- | Configuration options parser.
parseConfig :: String -> [String] -> Either String Config

-- | The default configuration
defaultConfig :: Config
instance GHC.Show.Show Test.Tasty.Config.Config


-- | Automatic test discovery and runner for the tasty framework.
module Test.Tasty.Discover
generateTestDriver :: Config -> String -> [String] -> FilePath -> [Test] -> String
addSuffixes :: [String] -> [String]
isHidden :: FilePath -> Bool
filesBySuffix :: FilePath -> [String] -> IO [FilePath]
isIgnored :: [FilePath] -> String -> Bool
findTests :: FilePath -> Config -> IO [Test]
extractTests :: FilePath -> String -> [Test]
testFileSuffixes :: Config -> [String]
showImports :: [String] -> String
ingredientImport :: String -> String
ingredients :: [String] -> String
showTests :: Config -> [Test] -> [String] -> [String]
newtype ModuleTree
ModuleTree :: (Map String (ModuleTree, [String])) -> ModuleTree
showModuleTree :: ModuleTree -> [String]
mkModuleTree :: [Test] -> [String] -> ModuleTree
instance GHC.Show.Show Test.Tasty.Discover.ModuleTree
instance GHC.Classes.Eq Test.Tasty.Discover.ModuleTree
