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

Pratik Tandel

11/10/2021, 8:46 PM
is there a plan to update kotest’s intellij plugin? https://plugins.jetbrains.com/plugin/14080-kotest does the plugin primarily only work with gradle and what would it take for it to work with bazel?
1
s

sam

11/10/2021, 8:50 PM
This is an intellij plugin so it just works with whatever intellij makes available
p

Pratik Tandel

11/10/2021, 8:51 PM
it isn’t working on the newest intellij (intellij can’t install it)
l

LeoColman

11/10/2021, 8:56 PM
Really? I'm using it on the newest IntelliJ
p

Pratik Tandel

11/10/2021, 8:56 PM
i’m using community edition? perhaps that’s why?
s

sam

11/10/2021, 8:57 PM
It works on both. What happens when you press that install button ?
p

Pratik Tandel

11/10/2021, 8:58 PM
the message is truncated and i can’t expand the window but here it is
this is on mac if it’s helpful
r

Raymond Berg

11/10/2021, 9:22 PM
Hmm, yeah I have the same issue on Mac. Would love to use the Kotest plugin
s

sam

11/10/2021, 9:23 PM
this is a known issue if you've have a previous version of the plugin
uninstall the kotest plugin, restart intellij, and readd it, and it will work
1
r

Raymond Berg

11/10/2021, 9:28 PM
Interresting. I don't think I had ever installed it before trying (and failing) and I don't see it now either in the Plugin list or on the filesystem. I'm newish to intellij so I had just given up until Pratik posted in here 😄
s

sam

11/10/2021, 9:30 PM
If you haven't installed it before then I dunno, because it definitely works on all current versions, as jetbrains run a compatibility test when you submit the plugin, and each time a new intellij is built
r

Raymond Berg

11/10/2021, 9:32 PM
Oh wait! I think that worked. I found a secret little zip file that snuck into my install! ~/Library/Caches/JetBrains/IntelliJIdea2021.1/plugins/kotest-plugin-intellij.zip
s

sam

11/10/2021, 9:32 PM
ok cool
once you've nuked it and restarted, you should be able to install again
r

Raymond Berg

11/10/2021, 9:39 PM
Yeah, that worked great. Thank you so much, Sam! I'm elated to have individual tests working!!!
s

sam

11/10/2021, 9:39 PM
yeah it's a pain without it
p

Pratik Tandel

11/10/2021, 10:20 PM
i couldn’t find where that cache is supposed to be
nvm
hmmm, removing it doesn’t do anything 😞
r

Raymond Berg

11/10/2021, 10:21 PM
Even if you did find this, I will leave my search criteria for the next person 1. Remove kotest from intellij if listed in plugins 2. Shut down intellij 3. Find file
find ~ -name 'kotest-plugin-intellij.zip'
4. Remove found files 5. Start intellij 6. Install Kotest
🙏 2
2 Views