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
At the moment I am facing an issue where upon running the aggregateJacocoReport from the main project if tests in module fail it causes the build to fail and following tests in other modules to not run and the report not generated.
Project structure looks like:
Project
build.gradle.kts
settings.gradle.kts
project1
build.gradle.kts
project2
build.gradle.kts
project3
build.gradle.kts
In terms of kordamp gradle plugins I am only using org.kordamp.gradle.jacoco version 0.54.0.
For tests each project applies the official jacoco plugin and configures the test task:
tasks.test {
useJUnitPlatform()
}
If I configure ignoreFailures=true the tests continue through all modules to run and generate a aggregated report, however, without this property the tests in other modules are never run. Ideally I need the "build" to fail but all tests run and generate the aggregated report.
It looks like this may have been addressed here but not sure if its the same issue.
I understand this is more of a help question than an issue so I really appreciate your time and effort.
The text was updated successfully, but these errors were encountered:
If this is your first time using the Kordamp Gradle Plugin suite to aggregate JaCoCo reports then I'd suggest you move on and use JaCoCo directly. I believe Gradle 7 or 8 added the behavior you seek. This plugin suite was created at a time where Gradle lacked lots of desirable behavior, such JaCoCo report aggregation.
Hi there,
At the moment I am facing an issue where upon running the
aggregateJacocoReport
from the main project if tests in module fail it causes the build to fail and following tests in other modules to not run and the report not generated.Project structure looks like:
In terms of kordamp gradle plugins I am only using
org.kordamp.gradle.jacoco
version 0.54.0.For tests each project applies the official
jacoco
plugin and configures thetest
task:If I configure
ignoreFailures=true
the tests continue through all modules to run and generate a aggregated report, however, without this property the tests in other modules are never run. Ideally I need the "build" to fail but all tests run and generate the aggregated report.It looks like this may have been addressed here but not sure if its the same issue.
I understand this is more of a help question than an issue so I really appreciate your time and effort.
The text was updated successfully, but these errors were encountered: