-
Notifications
You must be signed in to change notification settings - Fork 53
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
Print total coverage in console #229
Comments
Relates #155 |
@stepango , if I understand correctly, do you want the total percentage of line coverage with the same class-filters used for the HTML report to be displayed in the console? We planning to add a separate task to output the coverage to the build log, but we would like to understand how to make it convenient:
|
@shanshin yes that's correct. Back in a days, I used to parse jacoco reports, get total coverage from there and print in console, which is helpful on CI or on local if I just want to check current coverage after the latest changes. So yeah, for my use case smth as simple as printing total coverage in already existing tasks together with the path to the full report will work. |
Since the issue about the integration of these metrics with GitLab was merged as duplicate with this one, I'll summarize here what GitLab requires: • if multiple values are printed, there should be only one per line The common solution with other tools is to output similar to:
Other than that there are no particular requirements so hopefully this doesn't hinder what you had in mind. |
Added task with name `koverLog`, configured by `log { }` block in report variant's configuration Resolves #229
Added task with name `koverLog`, configured by `log { }` block in report variant's configuration Resolves #229
@shanshin I am so happy to see this being integrated! Thank you very much! <3 Looking forward for the next release. |
Added task with name `koverLog`, configured by `log { }` block in report variant's configuration Resolves #229
Implemented in |
After the
koverMergedHtmlReport
task is executed, I only see the link to the report, so to check the actual total coverage value I need to open the report itself. So I want to avoid that.Is there any way to print the total coverage value in the console?
The text was updated successfully, but these errors were encountered: