-
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
Is it possible to generate both xml and html report in a single gradle task? #661
Comments
Hi, |
And combination of these two commands called at the same time will run unit tests twice? Or the reports generation will use the result of a single unit tests run? |
the tests will be run once, and the outputs of the run will be reused in both Kover tasks (refer to the docs to learn more about Gradle task graph and inputs/outputs). There are no repetitions in the execution graph, so if two tasks depend on the same one, then it is executed only once. |
Thank you! |
Hi, we use kover to generate reports on CI. Now we use generation only in xml format, but it would be great to generate both xml and html reports using the single gradle task.
As I know, currently the only option to generate both types of reports is to run two tasks:
koverXmlReportVariantName
andkoverHtmlReportVariantName
but it's rather expensive to run both of these tasks on each pipeline.Is there a task that can generate both html and xml reports?
Kover version we use is 0.8.3
Thanks!
The text was updated successfully, but these errors were encountered: