Update to Kotest 6.1.0 and refactor to align with updated API changes.#559
Update to Kotest 6.1.0 and refactor to align with updated API changes.#559sksamuel wants to merge 8 commits intodiffplug:mainfrom
Conversation
|
Thanks very much for this implementation! Looks like you need to run I can update the changelogs myself, but I need an update to this file
The |
|
Spotless applied and docs updated. Let me know if you need further changes! |
|
I must be missing something locally as it has been green locally each time. Hopefully this last commit has it fixed on CI too. |
|
fwiw: selfie/.github/workflows/jvm-ci.yml Line 35 in e306baa The build can be a bit finnicky, tests that run tests seem to hit edge cases in Gradle. |
|
Gotcha, no big deal if you don't mind hitting approve each time to run the tests :) |
|
I got it to fail locally now. |
jvm/selfie-runner-junit5/src/main/kotlin/com/diffplug/selfie/junit5/SelfieExtension.kt
Outdated
Show resolved
Hide resolved
jvm/selfie-runner-junit5/src/main/kotlin/com/diffplug/selfie/junit5/SelfieExtension.kt
Show resolved
Hide resolved
jvm/selfie-runner-kotest/src/commonMain/kotlin/com/diffplug/selfie/kotest/SelfieExtension.kt
Outdated
Show resolved
Hide resolved
Set kotest.framework.config.fqn system property so Kotest 6 can find KotestProjectConfig, enabling SelfieExtension to initialize properly. Without this, all tests failed with "SelfieExtension wasn't added to the AbstractProjectConfig". Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
I think this is ready for another run :) |
Kotest 6 was a major release with some small breaking changes to the API.
This PR updates the code and examples to reflect the changes.
Also fixes #562