| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Test.Tasty.Discover
Description
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 :: FilePath -> Config -> IO [Test]
- mkModuleTree :: [Test] -> [String] -> ModuleTree
- showTests :: Config -> [Test] -> [String] -> [String]
Main Test Generator
generateTestDriver :: Config -> String -> [String] -> FilePath -> [Test] -> String #
Main function generator, along with all the boilerplate which which will run the discovered tests.
For Testing Purposes Only
newtype ModuleTree #
Constructors
| ModuleTree (Map String (ModuleTree, [String])) |
Instances
| Eq ModuleTree # | |
Defined in Test.Tasty.Discover | |
| Show ModuleTree # | |
Defined in Test.Tasty.Discover Methods showsPrec :: Int -> ModuleTree -> ShowS # show :: ModuleTree -> String # showList :: [ModuleTree] -> ShowS # | |
mkModuleTree :: [Test] -> [String] -> ModuleTree #