Is any options available to enable options in "Test->Analyze Code Coverage"? Is another way to run the code coverage result?
Is any options available to enable options in "Test->Analyze Code Coverage"? Is another way to run the code coverage result?
Code Coverage is an Enterprise Edition feature, not available in Professional.
Credits: @Damien_The_Unbeliever. Thanks for you answer in comments. Its helped me.
simple code coverage statistics can be generated using the dotnet test command
dotnet test myTestProject.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
The opencover tool exists also as extension to visual studio https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage