我正在使用partcover来为一堆mstest驱动的单元测试生成codecoverage.
我使用命令行:
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*]*
这运行,所有测试都通过,但我最终输出:
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
当我使用--output命令运行时,xml文件最终只是
为什么会发生这种情况?