getting corrupted report file
Answered
HI,
I'm Used dotcover command to generate the report in HTML. I'm getting the HTML file with garbage value (corrupt file).
Note:- I used CMD(Command Prompt) to run the command.
this is command i'm using:-
dotcover cover /TargetExecutable="C:\Program Files (x86)\NUnit 2.6.3\bin\nunit-console.exe" /TargetArguments="D:\Tests\bin\Debug\Tests.dll" /Output="AppCoverageReport.html" /ReportType="HTML" .
Out put :-
Ì BSJB v2.0.50727 l � #~ ü 0 #Strings , | #US ¨ #GUID ¸ #Blob W ú3 * ,
I B
f [ q B ž “ í È " 9 V o ˆ £ ¾ × ý < \ ŠB �“
[ À“ ÎB
Could you please help me get the correct command or let me know what i missed.
machine Config:-
1. Win10
2. VS 2013 (C#)
3. dotCover 2017.1.20170613.161351
Please sign in to leave a comment.
Hi Akash,
The output for the "cover" command is a DCVR snapshot file. Please, use the "analyze" command instead of "cover":
dotcover analyze /TargetExecutable="C:\Program Files (x86)\NUnit 2.6.3\bin\nunit-console.exe" /TargetArguments="D:\Tests\bin\Debug\Tests.dll" /Output="AppCoverageReport.html" /ReportType="HTML"