"Analyze Code Coverage" option missing in Visual Studio 2017 Professional
Asked Answered
P

3

21

enter image description here

Is any options available to enable options in "Test->Analyze Code Coverage"? Is another way to run the code coverage result?

Proudhon answered 1/11, 2018 at 6:28 Comment(3)
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/101Nordstrom
@Herbivore you should post this an an answer and get some upvotesClubby
P
32

Code Coverage is an Enterprise Edition feature, not available in Professional.

Credits: @Damien_The_Unbeliever. Thanks for you answer in comments. Its helped me.

Proudhon answered 24/5, 2019 at 7:47 Comment(1)
other options to get code coverage? 3rd party tools anything else that can be doneQuark
C
3

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

Cathern answered 23/8, 2021 at 14:26 Comment(1)
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
M
0

FineCodeCoverage work with Visual Studio 2019 or superior, not in 2017

Manta answered 11/4 at 7:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.