LoggingTestReporterService

public final class LoggingTestReporterService extends TestReporterServiceBase

Test reporter that logs to the logger, standard out and standard error. If you want to change the default output of a test runner (e.g. SPT), this is the place to be.

Methods

getErr

public PrintStream getErr()

getLogger

public ILogger getLogger()

getOut

public PrintStream getOut()

onSessionFinished

protected void onSessionFinished()

onSessionStarted

protected void onSessionStarted()

onTestFailed

protected void onTestFailed(String name, String reason, String details)

onTestIgnored

protected void onTestIgnored(String name, String reason)

onTestPassed

protected void onTestPassed(String name)

onTestStarted

protected void onTestStarted(String name)

onTestSuiteFinished

protected void onTestSuiteFinished(String name)

onTestSuiteStarted

protected void onTestSuiteStarted(String name)