You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run check task. koverXmlReport task is not launched, xml report is not generated.
With onCheck.set(false) for verify task is launched and report is generated.
No such issue for htmlReport. Also could not reproduce on 0.5.1 with similar setup.
The text was updated successfully, but these errors were encountered:
Hi,
I was unable to reproduce the problem locally, do you have a full reproducer project?
It was also useful to find out exactly what commands and in what sequence you run.
This is because report generation is performed in a different task than verification.
In some cases, Gradle can execute koverXmlReport after koverVerify, so if there is an error in koverVerify, the build stops and the report is not generated.
If it is necessary that the report is still generated, even if verification does not pass, you must explicitly add ordering:
This is not implemented in the plugin because there is no certainty that someone will need a report for an unverified project, if they need it, then you can explicitly call the task koverXmlReport.
Simple project is configured like this:
Run
check
task. koverXmlReport task is not launched, xml report is not generated.With
onCheck.set(false)
for verify task is launched and report is generated.No such issue for
htmlReport
. Also could not reproduce on 0.5.1 with similar setup.The text was updated successfully, but these errors were encountered: