-
Notifications
You must be signed in to change notification settings - Fork 38
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
excludeFiles/excludedPackages is not working with scala code coverage report #134
Comments
@eyalroth but none of them are excluding files which contains Controller in their name from my scoverage report |
I believe you need a regex, not a glob:
Yes, this is quite confusing. I'm not really sure why this is the way it is. |
Tried this one still i am getting those files in my coverage report :) |
Are you running Gradle from Windows? If so, it seems that you need the regex to match Windows paths:
Or to make it cross-platform:
|
Hi,
I am trying to exclude some files from my code coverage reports
example for config:
scoverage {
excludedFiles = ['*Controller.scala']
excludedPackages = ['contoller.']
}
but this is not working.
can anyone help me pls.
The text was updated successfully, but these errors were encountered: