-
Notifications
You must be signed in to change notification settings - Fork 40
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
ScoverageAggregate for different test #124
Comments
I'm not sure this is going to work in the ideal fashion, mainly because of the way that scoverage currently works under the covers. Coverage of a particular class is measured and written to a location fixed during compilation. I think this means that you won't be able to easily separate coverage obtained under unit or integration tests in a single build. You might try using Stu. |
Ok so standard I can live with that I think. Mostly, So I guess I can merge both "manually" by asserting Thanks for your help! |
I also think that's the way to go, but with a slight adjustment. Instead of omitting the
Make sure to |
I used
and it still fires My test config:
|
Hi and sorry to create an issue, since it's more of a question than a proper issue, but how do you aggregate coverage when you have different test tasks?
I have a multi-project build.
Say I have two test tasks:
test
andintegrationTest
Then I have (as you said):
reportTestScoverage
andreportIntegrationTestScoverage
=> perfect.I tried
aggregateScoverage
: it's running both thetest
andintegrationTest
tasks, perfect.But I'd need to have two different
aggregateScoverage
tasks, one for each test task.I tried first:
But it failed saying many properties were missing.
Thus I tried:
But this failed because
ScoverageAggregate.runner
is null.So I finally got it working through:
But it doesn't work, it only creates scoverage for the last subProject it builded.
Do you have any pointer? Thank you!
The text was updated successfully, but these errors were encountered: