Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mainFromCabal :: String -> [String] -> IO ()
- mainFromLibrary :: Library -> [String] -> IO ()
- isSuccess :: Summary -> Bool
- filterModules :: [ModuleName] -> [Module a] -> [Module a]
- main :: Library -> Config -> IO Summary
Documentation
mainFromCabal :: String -> [String] -> IO () Source #
Run doctest with given list of arguments.
Example:
mainFromCabal "my-project" =<< getArgs
filterModules :: [ModuleName] -> [Module a] -> [Module a] Source #
Filter modules to be tested against a list of modules to be tested (specified by the user on the command line). If list is empty, test all modules. Throws and error if a non-existing module was specified.