Namespace: Consultingwerk.SmartUnit.Output
Class 
JUnitOutputWriter Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.SmartUnit.Output.IOutputWriter

File:JUnitOutputWriter
Purpose:Generates a JUnit/ant compatible output of test results
Description:Allows parsing of test results by Jenkins CI/Hudson CI
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Mar 19 09:00:59 CET 2013
Notes:Dataset definition is contained in Consultingwerk/SmartUnit/dsTestsuites.i
See http://nelsonwells.net/2012/09/how-jenkins-ci-parses-and-displays-junit-output/



Top Method Summary
Options Name Purpose
# LONGCHAR ReplaceInvalidXmlCharacter (longchar) Removes invalid characters from XML output
+ WriteTo (character, character, dataset) Writes a dsTestsuites to an XML file using SAX
+ WriteTo (character, dataset) Writes a dsTestsuites to an XML file using SAX


Method Detail
Top

PROTECTED LONGCHAR ReplaceInvalidXmlCharacter (longchar)

Purpose: Removes invalid characters from XML output
Notes:

Parameters:
plcLongchar LONGCHAR
The longchar value to cleanup
Returns LONGCHAR
The cleaned up longchar value
Top

PUBLIC WriteTo (character, character, dataset)

Purpose: Writes a dsTestsuites to an XML file using SAX
Notes:

Parameters:
pcTargetFile CHARACTER
The target file to write to
pcClassNamePrefix CHARACTER
The prefix added to the class names
dsTestsuites DATASET dsTestsuites
INPUT The Dataset dsTestsuites
Top

PUBLIC WriteTo (character, dataset)

Purpose: Writes a dsTestsuites to an XML file using SAX
Notes:

Parameters:
pcTargetFile CHARACTER
The target file to write to
dsTestsuites DATASET dsTestsuites
INPUT The Dataset dsTestsuites


ProDataset Detail

ProDataset dsTestsuites

Member tables: eTestsuite, eTestcase


Temp-Table Detail

Temp-Table eTestcase

Defined in:

Temp-Table eTestsuite

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.05.2024 17:34:28