-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | A library to make a quick test-runner script. -- -- This library makes it easy to define an executable, which can find and -- run a bunch of tests for a binary. @package test-lib @version 0.1.0.0 module TestLib -- | Specifies how the test runner should behave. data Config Config :: String -> (String -> [String]) -> (String -> Bool) -> Config -- | Use this binary unless one is explicitly provided. [cfgDefaultBinary] :: Config -> String -- | Given a test, produce a set of parameters for the binary. [cfgBinOpts] :: Config -> String -> [String] -- | Examine a file name to determine if it is a test. [cfgIsTestCase] :: Config -> String -> Bool -- | Define a main function for an executable. mainWith :: Config -> IO ()