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

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, 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, dataset)

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

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


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