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

Do not count generated-sources in coverage metrics #114

Open
kemitix opened this issue May 20, 2017 · 0 comments
Open

Do not count generated-sources in coverage metrics #114

kemitix opened this issue May 20, 2017 · 0 comments

Comments

@kemitix
Copy link

kemitix commented May 20, 2017

Could Coveralls exclude code in located in the target/generated-sources from coverage reports?

I'm using the immutables.org library to create immutable value objects, which are created in target/generated-source/annotations/.

I use jacoco for local code coverage reporting and have excluded these classes using configuration/rules/rule/exclude entries. This works preventing Jacoco from objecting to coverage minimums not being met. (It still lists these the files in the HTML reports which is annoying, but not Coveralls problem).

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

1 participant