I am trying to get to grips with Partcover for possible integration with a build machine.
I am running Partcover in the command line with the following command:
PartCover.exe --settings settings.xml --output results.xml
My settings.xml was generated automatically using Partcover.Browser, and looks as follows:
<PartCoverSettings>
<Target>C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe</Target>
<TargetWorkDir>S:\Work\Solution\</TargetWorkDir>
<TargetArgs>/testcontainer:"TestProject\bin\release\TestProject.dll"</TargetArgs>
<LogLevel>4</LogLevel>
<Rule>+[*]*</Rule>
</PartCoverSettings>
S:\Work\Solution
is the root directory of the solution.
When I run this in the command line the tests all run and pass, but nothing happens after Test Settings: Default Test Settings
is displayed in the command line. No results.xml
file is created and I can see no evidence of any sort of code coverage analysis.
Is it something simple I'm missing in the settings file? Or is this a more complicated problem?
Edit: Using Partcover version 2.2.36423