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 Exceptions does not behave as outlined in the docs #620

Closed
espguitarist33 opened this issue Nov 5, 2018 · 1 comment
Closed

Comments

@espguitarist33
Copy link

The current documentation specifies the coverage_exceptions parameter as "List of package names to exclude from coverage analyzation.".

Given a package structure of:
HarnOS
|- UI
| -| -Modals
| - WebServices

Providing a coverage_exception of either 'HarnOS.UI' or 'UI' (I just supplied a list with both) I would expect the coverage to ignore the entire UI Package.

It looks like the code is actually using a name of module_exceptions with this property instead of package. It doesn't look like the function has access to any package names so it might need to be elsewhere, but it would be really helpful to be able to ignore a whole package and not receive failures for not covering the code.

@arcivanov
Copy link
Member

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