Closed x80486 closed 3 years ago
You look to be using version 0.12 of the junit 5 plugin
junit5PluginVersion.set("0.12")
JUnit 5.8.x support was added in 0.15
I would suggest the same as Henry.
All right, with junit5PluginVersion
version 0.15
definitely works. I can't find any references to this parameter — or how it's updated. It's always set at 0.12
in all examples.'
Thanks for the tip 🥳
Good point @x80486. Would you like to create w PR with proposes changes in README? :-)
Probably some information in the https://github.com/szpak/gradle-pitest-plugin#junit-5-plugin-for-pit-support-gradle-pitest-plugin-147 section would be enough.
Sorry for bothering you @x80486. Working on a regression test for JUnit 5.7/5.8, I also updated the README file (will be visible in master together with the 1.7.0 release - probably tomorrow).
Feel free to create an another PR, if you still would like to improve something in the documentation or the project itself :-).
I'm using the
info.solidsoft.pitest
version1.6.0
Gradle plugin with JUnit Jupiter:This works fine with
JUnit
version5.7.x
, but the newer5.8.x
breaks thepitest
task with something like this:Not sure if this is a JUnit problem, or if it does fall on the
Pitest
side...so starting here 😎