Hi,
I'm trying to generate a code coverage report using JetBrains dotCover and the JustMockRunner. I have the following batch file, which I plan to run on a schedule, which links dotCover, runs the coverage, and then unlinks dotCover.
1.
start /wait
""
"C:\Program Files (x86)\Telerik\JustMock\Libraries\Telerik.JustMock.Configuration.exe"
/link
"dotCover"
2.
"dotCover.exe"
cover
"C:\Temp\Settings.xml"
3.
start /wait
""
"C:\Program Files (x86)\Telerik\JustMock\Libraries\Telerik.JustMock.Configuration.exe"
/unlink
"dotCover"
The dotCover settings file has the following settings.
01.
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
02.
<
AnalyseParams
>
03.
<
TargetExecutable
>C:\JustMock\JustMockRunner.exe</
TargetExecutable
>
04.
<
TargetArguments
>"C:\Program Files (x86)\NUnit 2.6.4\bin\nunit-console.exe" "C:\Temp\Release64\JustMock.Tests.dll" /noshadow /xml="C:\Temp\Coverage JustMock Test Results.xml"</
TargetArguments
>
05.
<
Output
>C:\Temp\Coverage Snapshot JustMock.dcvr</
Output
>
06.
<
Scope
>
07.
<
ScopeEntry
>C:\Temp\Release64\TestClass.dll</
ScopeEntry
>
08.
</
Scope
>
09.
</
AnalyseParams
>
Everything seems to work correctly, with all tests passing, but I don't get any code coverage.
Have I missed something?