-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Test framework support for running simple test programs. -- -- Test framework support for running simple test programs. @package test-framework-program @version 1.1 module Test.Framework.Providers.Program -- | A shorthand for a possible function checking an output stream. type Checker = Maybe (String -> Bool) -- | Test that a given program runs correctly with the given arguments. -- 'Runs correctly' is defined as running and exiting with a successful -- (0) error code. testProgramRuns :: String -> FilePath -> [String] -> Test -- | Test that a given program runs correctly (exits successfully), and -- that its stdout / stderr are acceptable. testProgramOutput :: String -> FilePath -> [String] -> Checker -> Checker -> Test instance Typeable TestCase instance Testlike TestCaseRunning TestCaseResult TestCase instance TestResultlike TestCaseRunning TestCaseResult instance Show TestCaseRunning instance Show TestCaseResult