Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
humbertomoreno opened this issue Dec 20, 2023 · 4 comments

Comments

@humbertomoreno
Copy link

Installed product versions

  • Visual Studio: [example 2022 Professional]

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

  • FCC is a great product. Keep up the good work, guys!
@tonyhallett
Copy link
Collaborator

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
Copy link
Author

humbertomoreno commented Jan 13, 2024 via email

@tonyhallett
Copy link
Collaborator

Good to close then ?

@humbertomoreno
Copy link
Author

humbertomoreno commented Jan 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants