classxfant::XmlReport

sys::Obj
  xfant::XmlReport : xfant::TestReport

Report the test results as Xml.

make

new make(XTestResult[] results := (XTestResult[])[,])

Constructor

propertiesToXml

protected XElem propertiesToXml(Str:Str vars)

Convert environment variables to Xml

propertyToXml

protected XElem propertyToXml(Str name, Str val)

Convert a property to Xml

results

XTestResult[] results

Test results to output

showEnvironmentVars

Bool showEnvironmentVars := true

Ouputs environment variables. If true, every environment variable is printed. In the tests this variable is set to false to have reproducible outputs.

write

virtual override Void write(OutStream out)

Write an Xml document to out stream.