Hey folks, when i import my Arrow fork into Intell...
# arrow
a
Hey folks, when i import my Arrow fork into IntelliJ it does not seem to be possible to run the Kotest tests directly from IntelliJ (screenshot #1 gutter icon is not displayed). As this works in other projects i assume my general IntelliJ setup + plugin is correct (see screenshot #2) Is there any further setup i need to do in IntelliJ to be able to run tests directly?
j
It is necessary to install the kotest IDEA plugin
s
@abendt I think there are some breaking changes between the IntelliJ plugin for Kotest 4.x.x and Kotest 5.x.x cc\\ or is that not the case @sam ?
a
i have this version of the Kotest plugin installed
s
Correct plugin
Is your file in a test folder
a
this is the File: https://github.com/arrow-kt/arrow/blob/main/arrow-libs/core/arrow-core/src/commonTest/kotlin/arrow/core/EitherTest.kt it is in a commonTest folder. The folder seems to be properly imported into IntelliJ (screenshot)
s
You can't run common tests from the gutter icon
s
Would it be possible to support? I think
kotlin-test
can do it. I think it just uses jvm config by default.
s
I think it must be possible. Maybe a Christmas task for me
👍🏾 1
🎄 4
🦜 6
j
Yep, commonTest gutter icons show a dropdown to select in which platform you want to run them, for example jvm
s
And then does it just invoke gradle