-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Add an hspec test-suite in one command -- -- hspec-setup is a command-line tool for adding an hspec -- test-suite with minimal work. See the GitHub README for more -- information. @package hspec-setup @version 0.2.0.0 module System.Directory.Recursive getDirectoryContentsRecursive :: FilePath -> IO (AnchoredDirTree ()) isHaskellSource :: DirTree t -> Bool pretty :: Pretty a => a -> Doc -- | The action (putDoc doc) pretty prints document doc -- to the standard output, with a page width of 100 characters and a -- ribbon width of 40 characters. -- --
-- main :: IO ()
-- main = do{ putDoc (text "hello" <+> text "world") }
--
--
-- Which would output
--
-- -- hello world ---- -- Any ANSI colorisation in doc will be output. putDoc :: Doc -> IO () instance Text.PrettyPrint.ANSI.Leijen.Pretty (System.Directory.Tree.DirTree a) module Test.Hspec.Setup main :: IO () data ManifestFilePath CabalFile :: FilePath -> ManifestFilePath HpackFile :: FilePath -> ManifestFilePath unManifestFilePath :: ManifestFilePath -> FilePath type Options = (FilePath, ManifestFilePath) getData :: IO (Either String Options) hspecTestSuite :: String hspecHpackTestSuite :: String hspecDiscoveryFile :: String hspecSanitySpec :: String hspecGenerate :: FilePath -> Maybe FilePath -> IO () hspecSetup :: FilePath -> ManifestFilePath -> IO () appendHspecSuite :: FilePath -> ManifestFilePath -> IO ()