PartCover Console Produces Empty xml Output

I am using partcover to create codecoverage for a bunch of unit tests with mstest support.

I use the command line:

PartCover.exe --target "c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\MSTest.exe" --target-args "/testcontainer:c:\CrusieControlProjects\AcademyPro\AcademyTests\bin\Release\AcademyTests.dll" --include [AcademyPro*]*

This is done, all tests pass, but I end the output:

Results file:      C:\Program Files\Gubka Bob\PartCover .NET 2.3\TestResults\Administrator_PSLV22 2009-03-31 17_54_18.trx
Run Configuration: Default Run Configuration
Target PageFaultCount: 10565
Target PagefileUsage: 27631616
Target PeakPagefileUsage: 31297536
Target PeakWorkingSetSize: 31498240
Target QuotaNonPagedPoolUsage: 8180
Target QuotaPagedPoolUsage: 217124
Target QuotaPeakNonPagedPoolUsage: 13012
Target QuotaPeakPagedPoolUsage: 255524
Target WorkingSetSize: 30310400
request target shutdown
<PartCoverReport date="2009-03-31T18:00:36.7676250+01:00" />

When I run the --output command, the xml file only ends

<PartCoverReport date="2009-03-31T18:00:36.7676250+01:00" />

Why can this happen?

+5
source share
2 answers

To fix this, I finished downgrading.

I used version 2.3 (which is the dev assembly) and switched to version 2.2.

Now the tests pass fine and I get reasonable coverage data.

Maybe this will help someone.

+4
source

NUnit x64. , nunit-console.exe(AnyCPU). nunit-console-x86.exe( 32-) .

MSTest, , , AnyCPU, 32- . CorFlags.

+4

All Articles