Is any options available to enable options in "Test->Analyze Code Coverage"? Is another way to run the code coverage result?
"Analyze Code Coverage" option missing in Visual Studio 2017 Professional
Asked Answered
Code Coverage is an Enterprise Edition feature, not available in Professional. –
Herbivore
For C# test coverage tools independent of VS, see softwarerecs.stackexchange.com/a/133/101 –
Nordstrom
@Herbivore you should post this an an answer and get some upvotes –
Clubby
Code Coverage is an Enterprise Edition feature, not available in Professional.
Credits: @Damien_The_Unbeliever. Thanks for you answer in comments. Its helped me.
other options to get code coverage? 3rd party tools anything else that can be done –
Quark
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
Where does it generate the result? I ran it, and it did not display any coverage result in the terminal, not did it create any report files. –
Catoptrics
FineCodeCoverage work with Visual Studio 2019 or superior, not in 2017
© 2022 - 2024 — McMap. All rights reserved.