xebia / Xebium

Xebium provides Selenium (webdriver) bindings for FitNesse, with Selenium-IDE support
http://xebia.github.com/Xebium/
Apache License 2.0
76 stars 62 forks source link

How to render XML reports into HTML when executing command line suite in TeamCity #133

Open aquddos123 opened 10 years ago

aquddos123 commented 10 years ago

I've set up some integrated test suites which I'm invoking through command line in TeamCity. Fitnesse is generating XML reports under "FitNesseRoot\files\testResults" which I want to render into HTML so that I can examine the reports the same way in TeamCity like I do in standalone Fitnesse in case something fails.

How can I configure Xebium to generate HTML reports when running integrated via command line?

raboof commented 10 years ago

How exactly are you invoking FitNesse from the command-line?

The output format is determined by the 'format' parameter. Valid values include 'html' (if i recall correctly), 'text', and 'xml'.

It's also possible (though IMHO not particularly elegant) to include the HTML output inside the XML output, with the 'includehtml' option.

aquddos123 commented 10 years ago

I'm executing command "mvn install" to execute entire fitnesse suite mentioned as in the POM.xml to run integration tests. Ref: http://blog.xebia.com/2013/03/04/fitnesse-and-dependency-management-with-maven/

Output format gives nice execution report in console/build log but I really want to see the page/test history in HTML format like we see in actual fitnesse web server (http://www.fitnesse.org/FitNesse.UserGuide.TestHistory). We can then explore the history pages anytime to see what steps passed/failed and what and where exceptions thrown.

Can you please elaborate "include the HTML output inside the XML output, with the 'includehtml' option."? I'm not sure how to try this.