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

Allow defining filters for including or excluding assemblies, classes, and files from the final coverage report #150

Closed
Catalin-Andronie opened this issue Mar 26, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request stale

Comments

@Catalin-Andronie
Copy link

Feature Request

I want to be able to include or exclude assemblies, classes, or files from the coverage report.

Expected Behaviour

Provide a detailed description of how the feature should work.

I am thinking to have the next options which allow for inclusion or exclusion of .

Assembly filters: Optional list of assemblies that should be included or excluded in the report.

assemblyfilters:+*Service;+*Controller // Include any assembly which is post-fixed by the term "Service" or "Controller"
assemblyfilters:-*Service;-*Controller // Exclude any assembly which is post-fixed by the term "Service" or "Controller"

Class filters: Optional list of classes that should be included or excluded in the report.

classfilters:+*Service;+*Controller // Include any class which is post-fixed by the term "Service" or "Controller"
classfilters:-*Service;-*Controller // Exclude any class which is post-fixed by the term "Service" or "Controller"

File filters: Optional list of files that should be included or excluded in the report:

filefilters:+*Service;+*Controller // Include any file which is post-fixed by the term "Service" or "Controller"
filefilters:-*Service;-*Controller // Exclude any file which is post-fixed by the term "Service" or "Controller"

Additional Context

Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.

Linked To

List any issues linked to this feature request.

@github-actions
Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 30 days.

@github-actions github-actions bot added the stale label Jun 25, 2023
@github-actions
Copy link

This issue was closed because it has been stale for 30 days with no activity.

Enhancements automation moved this from To do to Awaiting Release Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
Enhancements
Awaiting Release
Development

No branches or pull requests

2 participants