Search code examples
msbuildcontinuous-integrationnunitteamcityopencover

I am using msbiuild to call my itegrations tests using open cover. I want to append all the results into one XML file. Is this possible?


I am using msbuild to call my integrations tests using open cover. I want to append all the results into one XML file. Is this possible?

Currently I run open cover against each individual dll we have. This produces an xml file for each dll. Is there a way of just having all the results appended into the one file when running from opencover?

I would like to get all the results appended into the default test results .xml file.


Solution

  • You can use the -mergeoutput switch that allows the output of one run to be loaded and the data updated into the next run.