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


-- | Automatically discover and run Hspec tests
--   
--   Automatically discover and run Hspec tests
--   
--   <a>https://hspec.github.io/hspec-discover.html</a>
@package hspec-discover
@version 2.11.9


-- | <i>NOTE:</i> This module is not meant for public consumption. For user
--   documentation look at
--   <a>https://hspec.github.io/hspec-discover.html</a>.
module Test.Hspec.Discover.Config
data Config
Config :: Bool -> Maybe String -> Bool -> Maybe String -> Config
[configNested] :: Config -> Bool
[configFormatter] :: Config -> Maybe String
[configNoMain] :: Config -> Bool
[configModuleName] :: Config -> Maybe String
defaultConfig :: Config
parseConfig :: String -> [String] -> Either String Config
usage :: String -> String
instance GHC.Show.Show Test.Hspec.Discover.Config.Config
instance GHC.Classes.Eq Test.Hspec.Discover.Config.Config


-- | <i>NOTE:</i> This module is not meant for public consumption. For user
--   documentation look at
--   <a>https://hspec.github.io/hspec-discover.html</a>.
module Test.Hspec.Discover.Sort
sortNaturallyBy :: (a -> (String, Int)) -> [a] -> [a]
data NaturalSortKey
naturalSortKey :: String -> NaturalSortKey
instance GHC.Classes.Ord Test.Hspec.Discover.Sort.Chunk
instance GHC.Classes.Eq Test.Hspec.Discover.Sort.Chunk
instance GHC.Classes.Ord Test.Hspec.Discover.Sort.NaturalSortKey
instance GHC.Classes.Eq Test.Hspec.Discover.Sort.NaturalSortKey


-- | A preprocessor that finds and combines specs.
--   
--   <i>NOTE:</i> This module is not meant for public consumption. For user
--   documentation look at
--   <a>https://hspec.github.io/hspec-discover.html</a>.
module Test.Hspec.Discover.Run
run :: [String] -> IO ()
data Spec
Spec :: String -> Spec
Hook :: String -> [Spec] -> Spec

-- | Generate imports for a list of specs.
importList :: Maybe [Spec] -> ShowS
driverWithFormatter :: String -> ShowS

-- | Return module name of a fully qualified identifier.
moduleNameFromId :: String -> String

-- | Derive module name from specified path.
pathToModule :: FilePath -> String
data Tree
Leaf :: String -> Tree
Node :: String -> Forest -> Tree
data Forest
Forest :: Hook -> [Tree] -> Forest
data Hook
WithHook :: Hook
WithoutHook :: Hook
discover :: FilePath -> IO (Maybe Forest)
instance GHC.Show.Show Test.Hspec.Discover.Run.Spec
instance GHC.Classes.Eq Test.Hspec.Discover.Run.Spec
instance GHC.Show.Show Test.Hspec.Discover.Run.Hook
instance GHC.Classes.Eq Test.Hspec.Discover.Run.Hook
instance GHC.Show.Show Test.Hspec.Discover.Run.Tree
instance GHC.Classes.Eq Test.Hspec.Discover.Run.Tree
instance GHC.Show.Show Test.Hspec.Discover.Run.Forest
instance GHC.Classes.Eq Test.Hspec.Discover.Run.Forest
instance Data.String.IsString GHC.Show.ShowS
