net.sf.jameleon.reporting
Interface TestRunReporter

All Known Implementing Classes:
AbstractTestRunReporter, HtmlTestRunReporter, SimpleTestRunReporter

public interface TestRunReporter

Reports on a test run, including each script result.


Method Summary
 void cleanUp()
          Cleans up any resources used
 Writer getWriter()
          Gets the Writer to use to write to results to
 void reportScriptResult(TestCaseTag tct, TestCaseCounter counter)
          Reports the result of the script.
 void reportTestRunComplete(Calendar startTime, Calendar endTime, TestCaseCounter counter)
          Reports the completion of a test run.
 void reportTestRunStart(Calendar startTime)
          Reports the start of a test run.
 void setWriter(Writer writer)
          Sets the Writer to use to write to results to
 

Method Detail

reportScriptResult

void reportScriptResult(TestCaseTag tct,
                        TestCaseCounter counter)
Reports the result of the script.

Parameters:
tct - The test case of the script
counter - The test case counter of the test run

reportTestRunStart

void reportTestRunStart(Calendar startTime)
Reports the start of a test run.

Parameters:
startTime - The time the test run was kicked off

reportTestRunComplete

void reportTestRunComplete(Calendar startTime,
                           Calendar endTime,
                           TestCaseCounter counter)
Reports the completion of a test run.

Parameters:
startTime - The time the test run began
endTime - The time the test run was completed
counter - The number of test cases run passed and failed.

cleanUp

void cleanUp()
Cleans up any resources used


getWriter

Writer getWriter()
Gets the Writer to use to write to results to

Returns:
The Writer to use to write to results to

setWriter

void setWriter(Writer writer)
Sets the Writer to use to write to results to

Parameters:
writer - The Writer to use to write to results to


Copyright © 2003-2008 Christian Hargraves. All Rights Reserved.