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

On Coverage tab keep the "current" file selected #370

Open muradexQ2 opened 7 months ago

muradexQ2 commented 7 months ago

Installed product versions

Description

After re-running the unit tests (we use Xunit) the list of classes with coverages get renewed and the scroll bar ends up at the top of the list. Lets say I am working on a class and obviously I am fixed on making a coverage progress on it. Before re-running the unit tests I locate the file on the Coverage tab and click on it expecting that after the re-run I will find it selected again and I don't have to hunt for it again in the long list of files. Which currently is not the case. After each re-run I need to scroll thru the list to find my file.

Current behavior

I have to locate the file I last checked on Coverage tab after the unit tests re-run.

Expected behavior

I would like to keep the file I last checked on the Coverage tab selected which makes it easier to follow the code coverage progress on the class of interest.