Collect scoverage results from all Test tasks #100
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi guys,
Thanks for a wonderful plugin!
I managed to implement gathering of scoverage results for both test and integrationTest (custom task) in the previous version of the plugin (2.x.x).
The new version of the plugin breaks my last hack and requires a new hack to be implemented in order to migrate to newest version 😄
I don't know if it's a major problem but usually projects have not just one Test task, an example would be this plugin itself where we have test and functionalTest sourceSets and their respective tasks.
This implementation that I did has one problem I noticed so far - one of the tests fails (but that might be not an issue, just a bit different behaviour).
My problem is that I can't migrate to the new version of the plugin because I can't add my custom test tasks to scoverage reporting.
Do you mind please to have a look and tell me if I miss something of if there's a way to do what I need.
If you think this code make sense, please feel free to change it if you think there's something to be improved.