I installed the latest kotest idea plugin, at firs...
# kotest
e
I installed the latest kotest idea plugin, at first it looked nice, I had the possibility to start each single test directly from the gui. However, as soon as I tried one:
Add io.kotest:kotest-runner-console-jvm to your build to execute tests using the kotest plugin. Required version is 4.1 or higher.
s
It's in beta which is why you have to install it manually. Use the latest snapshot of kotest
e
how would you rate its stability?
s
9.5/10
I'm not aware of any bugs in 0.9.18
e
how can I grab 4.1?
instructions on github page?
s
Yeah on the plugin page. I'll dish it out in a minute just away from computer atm
e
I keep getting
Add io.kotest:kotest-runner-console-jvm to your build to execute tests using the kotest plugin. Required version is 4.1 or higher.
but I do have it under `testCompileClasspath`:
io.kotestkotest kotest runner console jvm jvm4.1.0.251-SNAPSHOT
wait, a
-jvm
more
s
That's it.
293 though not 251
e
uh, ok
let me invalidate and restart
s
And use same version for all kotest deps
4.1 final will be released either this weekend or next
e
Copy code
listOf("runner-junit5", "assertions-core", "kotest-runner-console"/*, "property"*/).forEach {
    testImplementation("io.kotest:kotest-$it-jvm:$kotestVersion")
}
is kotlin 1.3.72 fine?
nothing, keep getting
Add io.kotest:kotest-runner-console-jvm to your build to execute tests using the kotest plugin. Required version is 4.1 or higher.
wait, i typo the version
no, no changes
s
what's your $kotestVersion
e
also, if I click on the play
Nothing here
Copy code
val kotestVersion = "4.1.0.293-SNAPSHOT"
s
do you have the snapshots repo ?
e
Copy code
maven("<https://oss.sonatype.org/content/repositories/snapshots/>")
yeah
e
is it running fine on your machine?
s
Yep several of us use it
e
I'm on Idea EAP
does it matter?
updated today: IntelliJ IDEA 2020.1.2 (Ultimate Edition) Build #IU-201.7846.29, built on May 19, 2020
s
Shouldn't
Do you have the right deps in your gradle view
e
s
too small to read
e
open in a new tab
s
console is not in that list
you have kotest twice
e
shit, wait, another typo
it works fine, sorry for the trouble
s
great
any feedback good or bad is useful, and https://github.com/kotest/kotest-intellij-plugin lists the features
e
mind if I PR your readme for a quick gradle copy/paste with kotlin and updated version?
s
that would be great thanks
e
@sam today I tried to install the plugin also in the office pc, but it complained there were problems with the descriptor. So I downloaded the zip from Idea website (https://github.com/kotest/kotest-intellij-plugin/releases) and it worked fine
am I missing anything?
s
Once it's out of beta it'll be in the plugin store