I have a unit test project, which only has one (1) test written against WebAPI project. When I run test coverage under Visual Studio 2015 Enterprise, it generates report with 9 lines covered. Which is correct.
However, when I run my coverage analysis with "vstest.console.exe" run analysis with "CodeCoverage.exe" which is under "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Team Tools\Dynamic Code Coverage Tools\CodeCoverage.exe", these generates .coverage and .coveragexml file with correct names, and when I open this file with VS 2015, it shows 0 lines of code covered.
I am targeting my same unit test .dll while I am running collect and analyze commands.
I am willing to use my reports agains sonarqube.
Am I missing something here?