Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module defines functions for notifying all test reporters registered about particular events in the lifecycle of a test run.
Further, it defines the standard test reporters for HTF's various output formats.
Synopsis
- data IsParallel
- isParallelFromBool :: Bool -> IsParallel
- data IsJsonOutput
- data IsXmlOutput
- reportAllTests :: ReportAllTests
- reportGlobalStart :: ReportGlobalStart
- reportTestStart :: ReportTestStart
- reportTestResult :: ReportTestResult
- reportGlobalResults :: ReportGlobalResults
- defaultTestReporters :: IsParallel -> IsJsonOutput -> IsXmlOutput -> [TestReporter]
Documentation
isParallelFromBool :: Bool -> IsParallel Source #
reportAllTests :: ReportAllTests Source #
Invokes tr_reportAllTests
on all test reporters registered.
reportGlobalStart :: ReportGlobalStart Source #
Invokes tr_reportGlobalStart
on all test reporters registered.
reportTestStart :: ReportTestStart Source #
Invokes tr_reportTestStart
on all test reporters registered.
reportTestResult :: ReportTestResult Source #
Invokes tr_reportTestResult
on all test reporters registered.
reportGlobalResults :: ReportGlobalResults Source #
Invokes tr_reportGlobalResults
on all test reporters registered.
defaultTestReporters :: IsParallel -> IsJsonOutput -> IsXmlOutput -> [TestReporter] Source #
The default test reporters for HTF.