Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

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

Open
aquddos123 opened this issue Jul 2, 2014 · 2 comments
Labels

Comments

@aquddos123
Copy link

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
Copy link
Contributor

raboof commented Jul 2, 2014

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
Copy link
Author

I'm executing command "mvn install" to execute entire fitnesse suite mentioned as <argline ="somesuitename"> 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.

@raboof raboof added the support label Jun 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants