EKibort / TeamCityFitnessePlugin

TeamCity plugin for runing Fitnesse tests
9 stars 16 forks source link

Path to formatting file for output xml #10

Open ghost opened 10 years ago

ghost commented 10 years ago

How I mend in the title I am missing a path property where I can set the path to the formatting the output xml (e.g. xslt to get a nice html as result).

Alternatively (or in addition) an option to get an 'auto' formatted output would be also great!

EKibort commented 10 years ago

What did you mean? Plugin does not output xml.

ghost commented 10 years ago

No, but the Runner. In my expectations such a plugin supports formatting the xml-result-files (generated by the runner to FitNesseRoot\files\testResults) to a readable output without the need of any other additional build steps. At least in Jenkins I did not had to do anything to get a nice html-page of my results. Would be very convenient to have such comfort in TeamCity too :-)

Edit: maybe calling the FormattingOption class with html as 'format' option is doing the job?! http://fitnesse.org/FitNesse.UserGuide.FormattingOption

EKibort commented 10 years ago

Hmm...but you already have very good view from TeamCity Test page. :) But I think it should be like a separated build feature - export build or test report from TeamCity to html\pdf. It is good idea for new plugin! :)

ghost commented 10 years ago

Hmmm... but if such functionality is not supported by the plugin I don't see any advantage to using it. I can use a command line step and call: java -jar fitnesse-standalone.jar -p 8888 -o -e 0 -c "FrontPage?suite" With that I have more options (setting environment variables for example) and get almost the same result :-)

Or is there a possibility by TeamCity to get a nicer output?

EKibort commented 10 years ago

I do not agree with you. :) The main advantage of this plugin is import test results to TeamCity. That helps to have statistics, test timing and report test count on TeamCity Test page.