R – MSTest & CruiseControl.Net

cruisecontrol.netmsbuildmstest

I am trying to get MSTest working with CruiseControl.Net. I currently have it working prefectly for unit tests, but I would like to see my code coverage. When I run MSTest and export it to an XML file (using /resultsfile:"C:\output\results.xml") it seems that no Coverage information is exported. However when I run MS test and open the result TRX file, it contains all of the code coverage information. What am I missing?

Best Answer

Did you include the MsTestSummary.xsl in your web dashboard configuration?

EDIT: Code Coverage report is not supported, you'll have to modify the xsl file yourself (and preferably attach your changes to a bug report so that other users can benefit).

Related Topic