Safe Haskell | Safe-Infered |
---|
A simple test runner for hledger's built-in unit tests.
Documentation
runTests :: CliOpts -> IO CountsSource
Run all or just the matched unit tests and return their HUnit result counts.
runTestsTillFailure :: CliOpts -> IO (Maybe String)Source
Run all or just the matched unit tests until the first failure or error, returning the name of the problem test if any.
flatTests :: CliOpts -> TestSource
All or pattern-matched tests, as a flat list to show simple names.
hierarchicalTests :: CliOpts -> TestSource
All or pattern-matched tests, in the original suites to show hierarchical names.