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
# Consultingwerk.OERA.IDataAccessFactory InitializeMockDataAccessFactory (character) Initializes the Mock Data Access Factory
+ LoadServices (character) Loads services from a comma-delimited list of XML files

Top Property Summary
Options Name Purpose
# LOGICAL DialogOutput
# LOGICAL LogMessages


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 Consultingwerk.OERA.IDataAccessFactory InitializeMockDataAccessFactory (character)

Purpose: Initializes the Mock Data Access Factory
Notes: Based on a comma delimited list of mock data access definitions

Parameters:
pcConfiguration CHARACTER
The configuration data
Returns Consultingwerk.OERA.IDataAccessFactory
The IDataAccessFactory instance
Top

PUBLIC 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


Returns LOGICAL
Top

PROTECTED LOGICAL LogMessages


Returns LOGICAL


©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:37:10