I have tried generating coverage report using OpenCover. It worked fine for DLLs but I have a console app that contains methods for which I have added a test project. For that, OpenCover is not generating a coverage report. Do I need to change the batch file? Below is the batch file with extra line-breaks for readability:
.\packages\OpenCover.4.6.519\tools\OpenCover.Console.exe
-register:user
"-filter:+[Mobile*]* -[Test*]* -[Mobile.Dummy.Test*]*"
"-target:.\packages\TestRunner.1.5.1\tools\TestRunner.exe"
"-targetargs:/noshadow .\Mobile.Test\bin\Debug\Mobile.Test.dll .\Mobile.Dummy.Test\bin\Debug\Mobile.Dummy.Test.dll"
.\packages\ReportGenerator.3.1.2\tools\ReportGenerator.exe
"-reports:results.xml" "-targetdir:.\coverage"