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

Exclude Tests from Analysis #109

Open
NorsaG opened this issue Oct 9, 2024 · 3 comments
Open

Exclude Tests from Analysis #109

NorsaG opened this issue Oct 9, 2024 · 3 comments

Comments

@NorsaG
Copy link

NorsaG commented Oct 9, 2024

It would be great to implement a feature that allows users to exclude tests from the analysis process. This functionality would enhance flexibility and improve the overall analysis experience; or it would be useful to have the option to decrease the priority of tests, allowing for more focused analysis on critical areas.

@jimbethancourt
Copy link
Collaborator

jimbethancourt commented Oct 15, 2024

This is a great idea! I have been thinking of implementing includes and excludes filters as well. This could be an optional "skipTests" configuration option.

@NorsaG
Copy link
Author

NorsaG commented Oct 15, 2024

This is a great idea! I have been thinking of implementing includes and excludes filters as well. This could be an optional "skipTests" configuration option.

In my experience, the most effective approach is to assign some "weight" to classes with issues. While skipping tests can be helpful, they still need to be refactored, and in some cases, that should be the top priority.

@jimbethancourt
Copy link
Collaborator

I agree they should be the top priority 😁 I don't think I'd be able to assign weights to tests, though. Once the filters are implemented however, you could conceivably filter in only tests and analyze those.

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