https://kotlinlang.org logo
#kotest
Title
# kotest
d

dave08

10/25/2021, 10:27 AM
Also, I get a funny crash:
Copy code
> Task :api:kotest
io.kotest.engine.reporter.TaycanConsoleReporter
java.lang.ClassNotFoundException: io.kotest.engine.reporter.TaycanConsoleReporter
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Class.java:315)
        at io.kotest.engine.launcher.ConsoleKt.createConsoleListener(console.kt:21)
        at io.kotest.engine.launcher.MainKt.main(main.kt:28)
s

sam

10/25/2021, 10:47 AM
This seems like a missing dependency or a version mismatch
d

dave08

10/25/2021, 11:26 AM
Is there anything missing here?
s

sam

10/25/2021, 11:32 AM
Ah well TaycanConsoleReporter doesn't exist in 5.0.0.M3 🙂
Are you using the gradle plugin ?
d

dave08

10/25/2021, 11:33 AM
yes
s

sam

10/25/2021, 11:33 AM
Ok I've just added an alias, wait for 5.0.0.M4
(tonight)
thanks for helping bug test on the previews
d

dave08

10/25/2021, 11:36 AM
Meanwhile I should downgrade to a stable version I suppose... thanks for working on all this 😉!
s

sam

10/25/2021, 11:37 AM
4.6.3 is the latest and should be drop in
👍🏼 1
d

dave08

10/25/2021, 12:46 PM
Not so drop in... Arb.positiveInt and Arb.boolean don't exist there... I guess I'll need to copy them from 5
s

sam

10/25/2021, 12:46 PM
They have different names in 4.6.3
try Arb.bool
and Arb.positiveInts maybe
d

dave08

10/25/2021, 12:47 PM
Yeah, now I remember... I was too quick to change those names... next time I should wait till a stable version 🤕...
s

sam

10/25/2021, 12:48 PM
lol yeah but then if everyone did that I'd get no feedback 😉
The old names are still there in 5.0 so you won't need to change them necessarily,
d

dave08

10/25/2021, 12:49 PM
I meant I should have renamed them only at a stable version... I still would have tried the beta
s

sam

10/25/2021, 12:50 PM
ah ok
64 Views