FortuneN / FineCodeCoverage

Visualize unit test code coverage easily for free in Visual Studio Community Edition (and other editions too)
https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage
Other
516 stars 39 forks source link

Reports it won't run as it is disabled, but it isn't #361

Closed bhaeussermann closed 9 months ago

bhaeussermann commented 9 months ago

Installed product versions

Description

Whenever I run tests no results are shown in the "Fine Code Coverage" window. In the FCC Output I see Coverage not collected as FCC disabled.

When I check Manage Extensions I can see that the Fine Code Coverage extension is enabled.

I already tried uninstalling the extension, then deleting the ...AppData\Local\FineCodeCoverage folder, then installing the extension again. The symptoms remain the same.

Steps to recreate

  1. Install the extension & restart Visual Studio.
  2. Create a new NUnit test project.
  3. Run the test.

Current behavior

No results are shown in the Fine Code Coverage window and in the output it says Coverage not collected as FCC disabled.

Expected behavior

Code coverage results should show up in the Fine Code Coverage window after running tests.

tonyhallett commented 9 months ago

Perhaps it is reporting that FCC is disabled because you have disabled it ?

image
bhaeussermann commented 9 months ago

Ah! That's what it was 🤦‍♂️. Thanks! 😊