valentinajemuovic / banking-kata-java

Banking Kata (Java)
MIT License
346 stars 92 forks source link

Pitest report aggregation not working (BLOCKED by pending plugin update) #80

Open valentinajemuovic opened 1 year ago

valentinajemuovic commented 1 year ago

The following error appears

PS C:\GitHub\valentinacupac\banking-kata-java> .\gradlew pitestReportAggregate
> Task :pitestReportAggregate FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':pitestReportAggregate'.
> A failure occurred while executing info.solidsoft.gradle.pitest.AggregateReportGenerator
   > C:\GitHub\valentinacupac\banking-kata-java\startup\build\reports\pitest\linecoverage.xml does not exist or is not a file 

The root cause for this error is that the startup module is excluded, hence no reports generated for it, and that then blocks the entire aggregation.

Pending for pitest plugin author to do the update https://github.com/szpak/gradle-pitest-plugin/issues/292

JoaoCipriano commented 1 year ago

Hello Valentina! I have suggested a workaround for the gradle-pitest-plugin mentioned issue, there is a comment with the solution if it makes sense to you I would like to add it to the project.