In a Place I’m working in, we needed to integrate the results from tests running in the C++ googleTest framework into the team build machine which is running CC.Net.
It appears that GoogleTest can output its result into a standard JUnit xml format, however I couldn’t locate a proper XSL that will transform the results into a nice report in the CC.Net Dashboard.
The following link points to the resulting xsl file that will create a nice looking report from googleTest output.
- Instruct googletest (using the –gtest_output) to write its result into an xml.
- Update the ccnet.config file to merge the resulting file into the CC.Net build report.
- Put the supplied xsl into the webdashboard/xsl directory of the cc.net installation. Download the xsl from this link.
- Update dashboard.config file to use the given xsl.
Hope this will save some time for somebody.
3 comments:
Thanks, man, you just saved me a load of time.. and made my CCNET install look all nice too.
Much appreciate the stylesheet!
Thanks a lot. Was really helpfull
Thanks, you saved me a great deal of work.
BTW: The link in "Instruct googletest (using the –gtest_output) to write its result into an xml." is broken, but no problem to google :-)
Post a Comment