Copyright Since 2005 TestBox Framework by Luis Majano and Ortus Solutions, Corp
www.ortussolutions.com
---
A JUnit reporter for use with the ANT junitreport task, which uses an old version of JUnit formatting.
private any buildTestCase(any buffer, any results, any specStats, any bundleStats, any fullName)
Parameters:
buffer
results
specStats
bundleStats
fullName
buildTestSuites
private any buildTestSuites(any buffer, any results, any bundleStats, any suiteStats, [any parentName=''])
Parameters:
buffer
results
bundleStats
suiteStats
parentName
genPropsFromCollection
private any genPropsFromCollection(any buffer, any collection)
Parameters:
buffer
collection
getName
public any getName()
Get the name of the reporter
runReport
public any runReport(TestResult results, TestBox testbox, [struct options='[runtime expression]'])
Do the reporting thing here using the incoming test results
The report should return back in whatever format they desire and should set any
Specifc browser types if needed.
Parameters:
results - The instance of the TestBox TestResult object to build a report on
testbox - The TestBox core object
options - A structure of options this reporter needs to build the report with