irongut/CodeCoverageSummary

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

Catalin-Andronie opened this issue · 2 comments

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.

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.

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