FitNesse
.
SuiteAcceptanceTests
.
SuiteTestRunnerTests
.
TestRunnerGeneratesXmlReports
Edit Page:
The TestRunner has the option to generate and XML report. The idea being that another process may read the XML outputs and generate some other report. It has been suggested that the XML follow the JUnit format although it doesn't seem to fit. example command line: '''!-java fitnesse.runner.TestRunner -xml stdout localhost 9123 PageName-!''' !include CreateSamplePages !|Test Runner Fixture | |args |page name |output? | |-xml stdout|SuiteFodder.TestPassing|$testXml=| !|script|string comparator | |ensure|string|$testXml|starts with|<?xml version="1.0"?>| |ensure|string|$testXml|ends with|</testResults>\n\n| |ensure|string|$testXml|contains|<pageHistoryLink>SuiteFodder.TestPassing?pageHistory| !|Test Runner Fixture | |args |page name |output?| |-xml stdout|SuiteFodder|$suiteXml=| !|script|string comparator| |ensure|string|$suiteXml|contains|<right>1</right>| |ensure|string|$suiteXml|contains|<wrong>1</wrong>| |ensure|string|$suiteXml|contains|<ignores>1</ignores>| |ensure|string|$suiteXml|contains|<exceptions>1</exceptions>|
Hints:
Use alt+s (Windows) or control+s (Mac OS X) to save your changes. Or, tab from the text area to the "Save" button!
Grab the lower-right corner of the text area to increase its size (works with some browsers).