vstest-docs
vstest-docs copied to clipboard
Code coverage difference between dotnet test and Visual Studio UI "Analysis Code Coverage for All Tests"
trafficstars
we are seeing a difference in code coverage results created from Visual studio UI and the command line option dotnet test , even though both using the same runsettings file.
After deep look found out the Ui is using coverable lines to calculate the percentage.
is there any option available in dotnet test to calculate the coverage based on Coverable lines?
If Ii is using coverable lines to calculate the percentage, what is command line using instead?