Safe Haskell | None |
---|---|
Language | Haskell2010 |
Automatic test discovery and runner for the tasty framework.
Synopsis
- generateTestDriver :: Config -> String -> [String] -> FilePath -> [Test] -> String
- newtype ModuleTree = ModuleTree (Map String (ModuleTree, [String]))
- findTests :: Config -> IO [Test]
- mkModuleTree :: [Test] -> [String] -> ModuleTree
- showTests :: Config -> [Test] -> [String] -> [String]
Main Test Generator
generateTestDriver :: Config -> String -> [String] -> FilePath -> [Test] -> String Source #
Main function generator, along with all the boilerplate which which will run the discovered tests.
For Testing Purposes Only
newtype ModuleTree Source #
ModuleTree (Map String (ModuleTree, [String])) |
Instances
Eq ModuleTree Source # | |
Defined in Test.Tasty.Discover.Internal.Driver (==) :: ModuleTree -> ModuleTree -> Bool # (/=) :: ModuleTree -> ModuleTree -> Bool # | |
Show ModuleTree Source # | |
Defined in Test.Tasty.Discover.Internal.Driver showsPrec :: Int -> ModuleTree -> ShowS # show :: ModuleTree -> String # showList :: [ModuleTree] -> ShowS # |
mkModuleTree :: [Test] -> [String] -> ModuleTree Source #