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

Davio

10/25/2023, 7:31 AM
Is anybody experiencing the same issue where after updating to the latest plugin version, in IntelliJ IDEA, my gutter icons to run Kotest tests are gone? Plugin version 1.3.70-IC-2023.2
w

wasyl

10/25/2023, 7:40 AM
latest IJ EAP +
1.3.70-233.9802-EAP-CANDIDATE-SNAPSHOT
works for me, I see gutter icons for
DescribeSpec
tests
d

Davio

10/25/2023, 7:51 AM
Sadly that version of the plugin is not compatible with my IntelliJ IDEA 2023.2.3
w

wasyl

10/25/2023, 7:55 AM
Ah, sorry I thought you're asking about EAP 🤦‍♂️
d

Davio

10/25/2023, 8:06 AM
Ok, I found out it was due to the test class being in the same file as the class I was testing (it was a little homeworky kind of thing I was messing with). When I moved the class to a separate file in my test folder, the icons appeared. Strange that it worked before...
k

Klitos Kyriacou

10/25/2023, 8:42 AM
I also found that with this update, if you want the Kotest gutter icons you need to mark the directory as "Test sources root". This is normally automatically done for the
test
directory (as its name is recognised by Gradle and Maven) but if you have other non-standard test directory names, you might have to use the UI to mark them as such.
3 Views