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
Caused by: java.lang.NoSuchMethodError: 'io.kotest.core.descriptors.TestPath io.kotest.core.descriptors.Descriptor$TestDescriptor.path(boolean)'
at io.kotest.extensions.spring.SpringTestExtension.methodName$kotest_extensions_spring(SpringTestExtension.kt:126)
at io.kotest.extensions.spring.SpringTestExtension.method(SpringTestExtension.kt:100)
at io.kotest.extensions.spring.SpringTestExtension.intercept(SpringTestExtension.kt:68)
at io.kotest.engine.test.TestExtensions$intercept$execute$1$1.invokeSuspend(TestExtensions.kt:146)
So you try support deprecated package name via typealias - typealias TestPath = io.kotest.common.TestPath located /io/kotest/core/descriptors/descriptor.kt:9
But, it dosn't work =(
Apparently kotlin ignores typealias in the type returned in the method and you need to duplicate the method for backward compatibility and make a new version of Kotest or update Kotest in the Spring extension.
The text was updated successfully, but these errors were encountered:
build.gradle:
kotlin
1.7.10
Trying to use Constructor Injection > have error
So you try support deprecated package name via
typealias
-typealias TestPath = io.kotest.common.TestPath
located/io/kotest/core/descriptors/descriptor.kt:9
But, it dosn't work =(
Apparently kotlin ignores typealias in the type returned in the method and you need to duplicate the method for backward compatibility and make a new version of Kotest or update Kotest in the Spring extension.
The text was updated successfully, but these errors were encountered: