How to create reports from FitNesse command line?
And what types of reports are possible? xml, txt, plain?
I think the only allowed formats are xml, html plain text end. But the documentation is bad, there is no page about it .. = (
It is best to use cURL or wget and call Fitnesse through your RESTful services.
http://www.fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.AdministeringFitNesse.RestfulServices
XML is the most common format, although I think JSON is available for some actions.
, 2010 , :
http://www.fitnesse.org/FitNesse.FullReferenceGuide.UserGuide.AdministeringFitNesse.CommandLineArguments
-c <command>: Run a Rest Command and then exit.
"" - REST, , cUrl. Windows Linux cUrl. REST .
, test/suite, , XML Format. "text" (format=text) HTML, .
format=text
, cURL wget.
, "MySuite" XML, URL-, : http://ip:port/MySuite?suite&format=xml
For one test called "MyTest", the URL changes to: http: // ip: port / MyTest? Test & format = xml