Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Code coverage difference between dotnet test and Visual Studio UI "Analysis Code Coverage for All Tests" #240

Open
eapenjohn opened this issue Sep 23, 2020 · 1 comment

Comments

@eapenjohn
Copy link

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?

@gioce90
Copy link

gioce90 commented Feb 15, 2022

If Ii is using coverable lines to calculate the percentage, what is command line using instead?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants