I am trying to use open cover to generate code coverage reports for my project, but it only covers test classes, not the source ones that I want. I am using the following command to run my tests:
"C:\Program Files (x86)\OpenCover\OpenCover.Console.exe" -register:user -target:"$nunit_path\nunit-console.exe" -targetargs:"$project_path\Project.Test\Project.Test.dll -noshadow" -mergebyhash -output:C:\Reports\NUnit\projectCoverageReport.xml
$nunit_path and $project_path are just the paths to my files, I skipped them to make the command clearer.
When I run this command, I get the full coverage of the test classes (inside the Project.Test.dll assembly) but nothing else. How do I make OpenCover consider the source code as well?