Safe Haskell | None |
---|
The console user interface including batch processing on entire test suites.
- consoleGeni :: ProgStateRef -> CustomSem sem -> IO ()
- loadNextSuite :: ProgStateRef -> CustomSem sem -> (FilePath, Maybe [Text]) -> IO [TestCase sem]
- data RunAs
- = Standalone FilePath FilePath
- | PartOfSuite Text FilePath
- writeResults :: ProgState -> RunAs -> CustomSem sem -> Text -> sem -> GeniResults -> IO ()
- getBatchDir :: HasFlags fs => fs -> IO FilePath
Documentation
consoleGeni :: ProgStateRef -> CustomSem sem -> IO ()Source
loadNextSuite :: ProgStateRef -> CustomSem sem -> (FilePath, Maybe [Text]) -> IO [TestCase sem]Source
Used in processing instructions files. Each instruction consists of a suite file and a list of test case names from that file
See http://projects.haskell.org/GenI/manual/command-line.html for how testsuite, testcase, and instructions are expected to interact
(Exported for use by regression testing code)
Internal
:: ProgState | |
-> RunAs | |
-> CustomSem sem | |
-> Text | raw text representation |
-> sem | |
-> GeniResults | |
-> IO () |
getBatchDir :: HasFlags fs => fs -> IO FilePathSource
Return the batch directory or a temporary directory if unset