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

Excluding packages or files from coverage #95

Open
nicholastmosher opened this issue Apr 22, 2019 · 1 comment
Open

Excluding packages or files from coverage #95

nicholastmosher opened this issue Apr 22, 2019 · 1 comment

Comments

@nicholastmosher
Copy link

Hi there,

Is there a way to exclude certain package names or filenames from the coverage report?
I would like something similar to this option in sbt-scoverage, but I don't see a similar configuration option here. Is this possible and I've just missed it? Or is it something that support could be added for?

If you have any advice, I'd really appreciate it!

@maiflai
Copy link
Contributor

maiflai commented Apr 23, 2019

Hi,

Please can you try the following?

scoverage {
    excludedPackages = [ '???' ]
}

excludedFiles should also be supported, but I'm not certain that it's working properly.

Thanks,
Stu

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