I'm trying to generate a coverage report for my solution.
My solution contains 10 projects and 1 unit test project.
My Unit Tests project does not test all of my 10 projects. So when I run coverage analysis (with console runner) on my UnitTests.dll the total of coverage is only calculated on dll that have unit tests. To fix that I tried to use the scope parameters with the filters parameters :
/TargetArguments="F:\MySolution\UnitTests\bin\x64\Release\UnitTests.dll -quiet -notrait "Category=Functional" "
/Output="mySolutionCoverage.bin" /Scope="F:\MySolution\UnitTests\bin\x64\Release\OtherProject.dll" /Filters=+:OtherProject.*;-:*Test*;-:xunit.*"
After that I generate the report and the result is empty. If I remove the "+:OtherProject.*", the report is here but still withbad number
How can I achieve what I need ? Thank you !