kotest-intellij-plugin
kotest-intellij-plugin copied to clipboard
Unable to run test with kotest IntelliJ plugin when test name contains double spaces
kotest version: 5.5.5
kotest IntelliJ plugin version: 1.3.68-IC-2022.1
IntelliJ version: 2022.1.2
I was unable to run a single test using the kotest IntelliJ plugin's green "play" button next to the test if the test name contains double spaces. The test is simply not getting picked up by IntelliJ.
Example snippet:
import io.kotest.core.spec.style.FunSpec
import io.kotest.matchers.shouldBe
class ExampleTest : FunSpec({
test("Two spaces") {
0 shouldBe 0
}
})
I noticed that in the "Run" panel the test name is displayed with a single space, could this mismatch be the cause?