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
526 stars 40 forks source link

All lines and branches are highlighted Red #5

Closed SamuelJohnsonMedia closed 4 years ago

SamuelJohnsonMedia commented 4 years ago

Installed product versions

Description

After having run my tests every line and branch is highlighted as red (uncovered). Therefore, I am unsure how this extension is supposed to work.

Steps to recreate

  1. Load Project
  2. Run Tests

Current behavior

All lines and branches are highlighted red.

Expected behavior

I expect my tested branches and lines to be green and not red.

FortuneN commented 4 years ago

Thank you for posting this. Please attach a sample solution with the test code and code being tested. Let’s get this resolved ASAP

SamuelJohnsonMedia commented 4 years ago

Here you go, I have a failing project (console app, library and a test); and a working project (library and a test):

ConsoleApp1-DoesntWork.zip ClassLibrary1-Works.zip

Thanks

SamuelJohnsonMedia commented 4 years ago

With the latest update 1.0.49; the classlibrary sample I attached above which did work doesnt work at all now ... I get no red or green coverage lines anywhere on any project.

FortuneN commented 4 years ago

Please check the current/latest version

SamuelJohnsonMedia commented 4 years ago

Yay brilliant; i have log output showing coverage values; the new coverage view is showing some results and my code is showing Green. Well done!!

Only small thing to mention is that the column headings on the 'View' window overwrite each other but I can log a new issue for that

FortuneN commented 3 years ago

Please post a review https://marketplace.visualstudio.com/items?itemName=FortuneNgwenya.FineCodeCoverage&ssr=false#review-details

and/or

Star this repo