HTF-0.10.0.6: The Haskell Test Framework

Safe HaskellNone

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.

Synopsis

Documentation

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.

defaultTestReportersSource

Arguments

:: Bool

True if tests are run in parallel

-> Bool

True if machine output should be produced

-> [TestReporter] 

The default test reporters for HTF.