-
Notifications
You must be signed in to change notification settings - Fork 624
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
Kotest Pitest extension not compatible with Kotest version > 5.4.0 #3359
Comments
I think we just need to do a new release of the Pitest extension, built with the latest Kotest version. I think I fixed the publishing of snapshots there. Could you give the latest snapshot a try when it's available? |
Pitest 1.9 introduced a breaking change in the API used by the Kotest extension. There's a new snapshot build out which bumps Pitest compatibility to 1.9.0+ |
Kotest-extensions-pitest 1.2.0 is out, which supports Kotest 5.5 and Pitest 1.9+ |
@Kantis you mentioned that 1.2.0 is "out" now? Where is that released? I can only see 1.1.0 in Sonatype Central linked from the extensions repo https://central.sonatype.com/artifact/io.kotest.extensions/kotest-extensions-pitest/1.1.0/versions |
I must've forgot to release the artefacts. Fixing.. |
Which version of Kotest are you using
5.4.0
I am integrating Pitest into my micronaut application that uses Kotest as the testing framework. I am using the following versions that are relevant to this issue:
Kotest 5.4.0
io.kotest.extensions:kotest-extensions-pitest:1.1.0
io.micronaut.test:micronaut-test-kotest5:3.8.0
io.kotest:kotest-runner-junit5-jvm:5.4.0
For my Pitest configuration, I am running Pitest version 1.8.1 as it was pointed out that the kotest pitest extension is only compatible with versions < 1.9.0.
For my Pitest gradle plugin version I am using 1.9.0. The version of this plugin does not correspond to the version of Pitest running because I specify that in the plugin configuration.
When I move to
kotest version 5.3.2
, Pitest works as expected! With version 5.4.0 and above, I get the following error:I see there was a thread similar to this with a similar error about a Kotest Spring extension, see that here. I wonder if there is a similar fix or a different regression that was introduced in Kotest 5.4.0 and above? For now I am getting by with 5.3.2 but upgrading to latest would be ideal!
The text was updated successfully, but these errors were encountered: