| Safe Haskell | None |
|---|
Test.Framework.TestReporter
Description
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.
- data IsParallel
- = Parallel
- | NonParallel
- isParallelFromBool :: Bool -> IsParallel
- data IsJsonOutput
- data IsXmlOutput
- = XmlOutput
- | NoXmlOutput
- reportAllTests :: ReportAllTests
- reportGlobalStart :: ReportGlobalStart
- reportTestStart :: ReportTestStart
- reportTestResult :: ReportTestResult
- reportGlobalResults :: ReportGlobalResults
- defaultTestReporters :: IsParallel -> IsJsonOutput -> IsXmlOutput -> [TestReporter]
Documentation
data IsParallel Source
Constructors
| Parallel | |
| NonParallel |
data IsJsonOutput Source
Constructors
| JsonOutput | |
| NoJsonOutput |
data IsXmlOutput Source
Constructors
| XmlOutput | |
| NoXmlOutput |
reportAllTests :: ReportAllTestsSource
Invokes tr_reportAllTests on all test reporters registered.
reportGlobalStart :: ReportGlobalStartSource
Invokes tr_reportGlobalStart on all test reporters registered.
reportTestStart :: ReportTestStartSource
Invokes tr_reportTestStart on all test reporters registered.
reportTestResult :: ReportTestResultSource
Invokes tr_reportTestResult on all test reporters registered.
reportGlobalResults :: ReportGlobalResultsSource
Invokes tr_reportGlobalResults on all test reporters registered.
defaultTestReporters :: IsParallel -> IsJsonOutput -> IsXmlOutput -> [TestReporter]Source
The default test reporters for HTF.