Namespace: Consultingwerk.SmartUnit.TestRunner
Class 
TestRunner Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartUnit.TestRunner.ITestRunner
Inherited by: Consultingwerk.SmartUnit.TestRunner.DebugRunner

File:TestRunner
Purpose:Default TestRunner implementation
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Mar 24 16:12:17 CET 2013



Top Method Summary
Options Name Purpose
+ LOGICAL Execute (ITestSuite) Executes the test suite described by the ITestSuite instance
# ExecuteManagementMethod (character, Object, character) Executes a test management method (setup, teardown, before, after)
# Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character, Object, character, character, character, character, integer) Executes a single test
# LoadServices (character) Loads services from a comma-delimited list of XML files

Top Property Summary
Options Name Purpose
# LOGICAL DialogOutput Gets and sets if Errors Messages should be shown on in an dialog box
# LOGICAL LogMessages Gets and sets if Log-Messages should be written (MESSAGE to console)


Method Detail
Top

PUBLIC LOGICAL Execute (ITestSuite)

Purpose: Executes the test suite described by the ITestSuite instance
Notes:

Parameters:
poTestSuite Consultingwerk.SmartUnit.ITestSuite
The ITestSuite to execute
Returns LOGICAL
Logical value, when set to false halt will be signalled to the caller (ANT script)
Top

PROTECTED ExecuteManagementMethod (character, Object, character)

Purpose: Executes a test management method (setup, teardown, before, after)
Notes:

Parameters:
pcLabel CHARACTER
The label for the setup method
poTestInstance Progress.Lang.Object
The reference to the Test instance
pcMethodName CHARACTER
The name of the method to execute
Top

PROTECTED Consultingwerk.SmartUnit.TestRunner.TestResult ExecuteTest (ITestSuite, character, character, Object, character, character, character, character, integer)

Purpose: Executes a single test
Notes:

Parameters:
poTestSuite Consultingwerk.SmartUnit.ITestSuite
The reference to the current test suite
pcLogFolder CHARACTER
The name of the folder to use for logfiles etc.
pcClassName CHARACTER
The name of the test class
poTestInstance Progress.Lang.Object
The reference to the Test instance
pcTestName CHARACTER
The name of the test method to execute
pcSetupMethod CHARACTER
The name of the setup method
pcTearDownMethod CHARACTER
The name of the tear down method
pcExpected CHARACTER
The class of error that is expected to be thrown by the test method
piStopAfter INTEGER
The number of seconds after which the test is supposed to be stopped
Returns Consultingwerk.SmartUnit.TestRunner.TestResult
The TestResult of the executed test
Top

PROTECTED LoadServices (character)

Purpose: Loads services from a comma-delimited list of XML files
Notes:

Parameters:
pcServices CHARACTER
The comma delimited list of service xml files


Property Detail
Top

PROTECTED LOGICAL DialogOutput

Purpose: Gets and sets if Errors Messages should be shown on in an dialog
box
Notes:

Returns LOGICAL
Top

PROTECTED LOGICAL LogMessages

Purpose: Gets and sets if Log-Messages should be written (MESSAGE to console)
Notes:

Returns LOGICAL


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:44:59