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

Negative filters #330

Closed ekolis closed 11 months ago

ekolis commented 1 year ago

Installed product versions

Description

There is a filter to limit the results of the Coverage or Risk Hotspots tab to specific values. I'd like another filter added to filter specific values out and not show them.

Steps to recreate

  1. Run some tests
  2. Open the Coverage or Risk Hotspots tab

Current behavior

You can filter to specific values but not filter specific values out.

Expected behavior

I'd like to be able to filter specific values out.

Side Notes

This would be helpful to filter things out such as autogenerated designer classes that I have no control over.

tonyhallett commented 1 year ago

FCC already provides the facility to exclude classes. Before the report is generated.

ekolis commented 1 year ago

Oh, how do I do that?

tonyhallett commented 1 year ago

https://github.com/FortuneN/FineCodeCoverage

Look for "exclude". The how depends on if you are using Ms Code Coverage or not.