How do I generate reports from Command Line FitNesse ?
And, what types of reports are possible? xml, txt, plain?
How do I generate reports from Command Line FitNesse ?
And, what types of reports are possible? xml, txt, plain?
Best bet is to use cURL or wget and call Fitnesse through its RESTful services.
http://fitnesse.org/FitNesse.UserGuide.RestfulServices
XML is the most common format, although I think JSON is available for some actions.
I think the only formats allowed are xml, html plain text end. But the documentation is bad, there's no page about this.. =(
As mentioned before, use cURL or wget.
For example, to run a suite called "MySuite" and get a report in XML, the URL to use is: http://ip:port/MySuite?suite&format=xml
For a single test called "MyTest", the URL changes to: http://ip:port/MyTest?test&format=xml