Namespace: Consultingwerk.SmartUnit.TestRunner
Class 
DebugRunner Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.SmartUnit.TestRunner.TestRunner
Implements: Consultingwerk.SmartUnit.TestRunner.ITestRunner

File:DebugRunner
Purpose:Debug version of the SmartUnit Test runner. Allows
execution of Unit Tests from within PDSOE - allowing
to debug unit tests
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Dec 03 21:29:57 CET 2014



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

Top Constructor Summary
Options Name Purpose
+ DebugRunner () Constructor for the DebugRunner class

Top Property Summary
Options Name Purpose
# LOGICAL DialogOutput
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
# LOGICAL LogMessages
Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner


Method Detail
Top

PUBLIC LOGICAL Execute (ITestSuite)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Executes the test suite described by the ITestSuite instance
Notes:

Parameters:
poTestSuite 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)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
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)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Executes a single test
Notes:

Parameters:
poTestSuite 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 IDataAccessFactory InitializeMockDataAccessFactory (character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
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 IDataAccessFactory
The IDataAccessFactory instance
Top

PUBLIC LoadServices (character)

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner
Purpose: Loads services from a comma-delimited list of XML files
Notes:

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


Constructor Detail
Top

PUBLIC DebugRunner ()

Purpose: Constructor for the DebugRunner class
Notes:



Property Detail
Top

PROTECTED LOGICAL DialogOutput

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner

Returns LOGICAL
Top

PROTECTED LOGICAL LogMessages

Inherited from Consultingwerk.SmartUnit.TestRunner.TestRunner

Returns LOGICAL


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