https://kotlinlang.org logo
Title
r

reevn

07/18/2020, 1:39 PM
Not sure if this was posted here, but it seems that many people are having problems getting
MockK
to run when using
Kotest
4+ and running tests with the Kotest IntelliJ plugin: https://github.com/mockk/mockk/issues/459. I'm not sure if this happens for everyone, but if it does then it is blocking all
Kotest
users from really working with
MockK
in an easy way. It is not clear to me if this is a problem that needs to be fixed on the
Kotest
side or
MockK
side. Did anybody here experience the problem and have any more information or even workarounds? Please help us out in the issue or here on Slack 🙂.
l

LeoColman

07/18/2020, 5:01 PM
Hi!
As a developer from Kotest, we weren't aware of the issue
This looks like an issue with our IntelliJ plugin. We'll investigate
r

reevn

07/18/2020, 5:02 PM
Thanks! I was thinking about crossposting this to the Kotest plugin repo, but wasn’t sure. Awesome that you've seen this 👍
l

LeoColman

07/18/2020, 5:04 PM
You can always reach us at #kotest too, if any issue comes up 🙂
👍 1
s

sam

07/18/2020, 10:59 PM
It would be useful to know if this is only affecting people using android studio or all intellij users?
t

thanksforallthefish

07/20/2020, 6:39 AM
for what is worth, I never saw the issue. we use regular intellij, with 1.0.5 plugin and 4.1.1 kotest
s

sam

07/20/2020, 6:43 PM
The latest 1.1.0 plugin (unreleased) changes the way the classpath works so this might fix this (just hoping though)
r

reevn

07/20/2020, 6:44 PM
Cool! Any way I can help to quickly test this or should the update be released in not too much time?
s

sam

07/20/2020, 6:46 PM
tonight / tomorrow, you can try it manually if you want
r

reevn

07/20/2020, 6:59 PM
Hmm, with the new version nothing happens when I try to execute tests (not even some kind of feedback/build process). Just nothing happens when I click a gutter icon or try to start a test inside the
Kotest
plugin window. I reverted to
1.0.5
and tests are executed again (although failing because of the mentioned issue in this thread 🙂). I will try again when the new version is on the marketplace.
s

sam

07/20/2020, 6:59 PM
ok
what version of kotest ?
r

reevn

07/20/2020, 6:59 PM
4.1.1
s

sam

07/20/2020, 7:00 PM
ok thanks will check that out
r

reevn

07/20/2020, 7:00 PM
👍