FineCodeCoverage icon indicating copy to clipboard operation
FineCodeCoverage copied to clipboard

Any plan to implement the plugin for Visual Studio Code?

Open HaroonSaid opened this issue 2 years ago • 8 comments

Any plan to implement the plugin for Visual Studio Code?

HaroonSaid avatar Jan 05 '22 00:01 HaroonSaid

Yes at some time this year.

tonyhallett avatar Jan 05 '22 09:01 tonyhallett

And the official release for VS 2022 on the marketplace? Will be happy to assist if you need, I noticed there is already a new VS2022 folder though so not sure if you are in the middle of this.

brutaldev avatar Jan 05 '22 17:01 brutaldev

Vs 2022 has been released.

tonyhallett avatar Jan 05 '22 18:01 tonyhallett

@tonyhallett Really? The market place still says it only works with 2019 (https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage) and the installer does not have 2022 as an installation option.

brutaldev avatar Jan 06 '22 04:01 brutaldev

Yes really. The marketplace has two entries as 2022 and 2019 are incompatible

tonyhallett avatar Jan 06 '22 08:01 tonyhallett

OK... So do you have a link to the 2022 version? There are a couple of people also asking for it on the Q & A page too.

No 2022 results in the search: https://marketplace.visualstudio.com/search?term=fine%20code%20coverage&target=VS&category=All%20categories&vsVersion=vs2019&sortBy=Relevance

Website still points to the 2019 version as well so I'm kind of lost as to where it lives?

UPDATE: Found it, the search link puts in 2019 for some reason so changing that to 2022 made it show up. The link is https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage2022 if anyone needs it.

brutaldev avatar Jan 06 '22 15:01 brutaldev

Hello, is it supporting branch coverage for C++, I tested it with VS2022 and the line coverage works well, but the branch coverage always shows 0.

liuyang8427 avatar Sep 22 '22 07:09 liuyang8427

@liuyang8427 FCC does not perform any code coverage itself. With C++ we use ms code coverage. According to report generator that creates the report from the coverage output. https://github.com/danielpalme/ReportGenerator/wiki/FAQ#which-coverage-tool-supports-which-features-in-the-html-report image

Which suggests ( Visual Studio ? ) that branch coverage is not available. But it does with a C# project !

FCC uses a local copy of the ms code coverage tool, version 17.1. 17.3.1 is the latest version. https://www.nuget.org/packages/Microsoft.CodeCoverage/

I have just run a test against code with a branch and there is no change with the latest version.

I have asked the question - vstest issue - Question - Should there be / will there be branch coverage for C++ projects ?

tonyhallett avatar Sep 22 '22 15:09 tonyhallett