0

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.

2 Answers2

0

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

Shaun Wilde
  • 8,228
  • 4
  • 36
  • 56
0

I used ReportGenerator to amalgamate all the OpenCover results and used the existing team city nunit reporter, to report on the nunit results generated. This gives me two reports from all runs. One with coverage and the second with just the nunit results.