-
Notifications
You must be signed in to change notification settings - Fork 127
Refresh the excluded implementation #484
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the pr! I've left a few comments. Note that there is also compilation issues that need to be taken care of before CI can run.
Therefore I am thinking to add a coverageExclude task to sbt-scoverage that will rewrite/cleanup the scoverage.coverage file (remove the excluded packages, classes, files).
My gut reaction is that this isn't a good idea. Feel free to create an issue about it in the sbt repo, and we can discuss there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the pr @rolandtritsch.
LGTM
Hi @ckipp01,
my name is Roland Tritsch. Thanks for all the hard work on making scoverage work (again) for Scala3.
I also need this and will spend some time on this over the next couple of weeks and will start to send PR's your way.
I will try to keep the PR's small. But that also means there will be more of them. Hope that is ok.
The first one/this one clarifies that the excludePackages/Files only works for Scala2.
Will also send a PR on
sbt-scoverage
to add a test for this.I need this functionality to work for Scala3, but would assume that it will be a while before dotty supports this out of the box.
Therefore I am thinking to add a
coverageExclude
task tosbt-scoverage
that will rewrite/cleanup thescoverage.coverage
file (remove the excluded packages, classes, files).This is can then be removed again as soon as dotty will support a comparable exclude capability.
Agreed?