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

Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods and exclude them #365

Closed humbertomoreno closed 7 months ago

humbertomoreno commented 8 months ago

Installed product versions

Description

First of all, a big THANK YOU for such a wonderful tool. I only have just a couple of suggestions:

  1. Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods from code analysis. Most of the Test projects show in the analysis list and they are measured the same way as the rest of the code.
  2. If you could incorporate a Button in the main interface, to push a manual scan, instead of this being automatic. This would be great.

Side Notes

tonyhallett commented 7 months ago

Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods from code analysis. Most of the Test projects show in the analysis list and they are measured the same way as the rest of the code.

Are you saying that you would like to exclude your test assemblies from coverage ? If so there is an IncludeTestAssembly option which defaults to true and can be set to false.

If you could incorporate a Button in the main interface, to push a manual scan, instead of this being automatic. This would be great.

Just turn off FCC with the vs option Enabled and turn it back on when required.

humbertomoreno commented 7 months ago

Thanks!


From: Tony Hallett @.> Sent: Saturday, January 13, 2024 6:38:47 AM To: FortuneN/FineCodeCoverage @.> Cc: Humberto Moreno @.>; Author @.> Subject: Re: [FortuneN/FineCodeCoverage] Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods and exclude them (Issue #365)

Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods from code analysis. Most of the Test projects show in the analysis list and they are measured the same way as the rest of the code.

Are you saying that you would like to exclude your test assemblies from coverage ? If so there is an IncludeTestAssembly option which defaults to true and can be set to false.

If you could incorporate a Button in the main interface, to push a manual scan, instead of this being automatic. This would be great.

Just turn off FCC with the vs option Enabled and turn it back on when required.

— Reply to this email directly, view it on GitHubhttps://github.com/FortuneN/FineCodeCoverage/issues/365#issuecomment-1890426414, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFDBOQOQ3G2JIZ6BVQFPZRTYOJW4PAVCNFSM6AAAAABA5ISYLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGQZDMNBRGQ. You are receiving this because you authored the thread.Message ID: @.***>

tonyhallett commented 7 months ago

Good to close then ?

humbertomoreno commented 7 months ago

Yes! Thanks a lot.

You guys have an excellent tool.


From: Tony Hallett @.> Sent: Saturday, January 13, 2024 8:03:42 AM To: FortuneN/FineCodeCoverage @.> Cc: Humberto Moreno @.>; Author @.> Subject: Re: [FortuneN/FineCodeCoverage] Coverage mechanism could auto-detect Microsoft Test Framework or XUnit test methods and exclude them (Issue #365)

Good to close then ?

— Reply to this email directly, view it on GitHubhttps://github.com/FortuneN/FineCodeCoverage/issues/365#issuecomment-1890452203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFDBOQJMRNK5NRYMYPWRKGLYOKA25AVCNFSM6AAAAABA5ISYLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQGQ2TEMRQGM. You are receiving this because you authored the thread.Message ID: @.***>