FortuneN/FineCodeCoverage

Don't get Highlight options

BvdVen opened this issue ยท 10 comments

Installed product versions

  • Visual Studio: 2022 Profesional
  • This extension: 1.1.209

Description

When I run unittests I don't see any highlights in my code about what code is (not)covered. In Options -> Envionment -> Fonts and Colors I also don't see any display name about coverage.

When I run unittests I don't see any highlights in my code

If you mean #277 then it is currently unsupported but being worked on.

In Options -> Envionment -> Fonts and Colors I also don't see any display name about coverage.
See #307 also being worked on.

I'll let you know when both are completed.

If all goes to plan. Appears to be working.

image

I found the Display Items, the're called "FCCCovered", "FCCNotCovered" and "FCCPartial" in my UI. But I don't see any colour displayed when I run my unittests.

What highlights are you expecting ?

I would expect the same code highlights as in your screenshot. But my code doesn't have any highlight, and the Fine Code Coverage window does say f.e. 79% coverage. So in that class I would expect to see some highlights, right? Do I need to click or enable something to see the highlights?

As per #277 it is currently unsupported but being worked on as the screenshot demonstrates. I will probably commit this change today. We will be using Coverage Touched Area instead of FCCCovered etc to be consistent if Visual Studio Enterprise's built in functionality.

Ok, I'll await the commit today ๐Ÿ˜„
About the names, should I'll be seeing "Coverage Touched Area" already, because I don't, or is that also in this commit?

In Vs 2022 only Enterprise has those marker items. FCC will add them for Professional and Community. In this commit.

Will be another day as I need to check the performance and have tests in place.

Done - see readme for video / options