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

Allow koverCollectReports to aggregate into single report file #93

Closed
brizzbuzz opened this issue Dec 13, 2021 · 2 comments
Closed

Allow koverCollectReports to aggregate into single report file #93

brizzbuzz opened this issue Dec 13, 2021 · 2 comments
Labels
Feature Feature request issue type Kover Gradle Plugin

Comments

@brizzbuzz
Copy link

Hey, very excited about this plugin! I think there would be a nice addition to make to the koverCollectReports task that would allow all collected reports to be piped into a single discoverable file. At the moment it seems to simply take the distinct reports from each module and move them all into a parent folder.

Screen Shot 2021-12-12 at 7 37 39 PM

For HTML this may even be as simple as having the koverCollectReports task add an index.html file in the html directory here that provides hyperlinks to each child module results. For XML I admit I'm just not sure how all that works haha, being lazy.

The reason being, that for CI code coverage integration, often times you need to explicitly list the file or files that you wish to upload. Previously for Jacoco, I had a very ugly hand rolled gradle task that would smush all jacoco reports into a single report, but it would be nice if Kover offered this functionality out of the box :)

@shanshin shanshin added Feature Feature request issue type Kover Gradle Plugin labels Dec 13, 2021
@shanshin
Copy link
Collaborator

shanshin commented Dec 13, 2021

Hi,
this task already in progress #90 (if a merged report is suitable for you).
Relates #43

@brizzbuzz
Copy link
Author

Perfect 👌 gonna close this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request issue type Kover Gradle Plugin
Projects
None yet
Development

No branches or pull requests

2 participants