Safe Haskell | None |
---|---|
Language | Haskell2010 |
Automatic test discovery and runner for the tasty framework.
- generateTestDriver :: Config -> String -> [String] -> FilePath -> [Test] -> String
- newtype ModuleTree = ModuleTree (Map String (ModuleTree, [String]))
- findTests :: FilePath -> 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])) |
mkModuleTree :: [Test] -> [String] -> ModuleTree Source #