Are there any limitations to test names that we sh...
# kotest
d
Are there any limitations to test names that we should be aware of (KoTest 6.1.3)? I am running the following test:
Copy code
kotlin
internal class SomeSpec: FunSpec({

    context("Some context") {
        test("Glob mit '**' soll ungültig sein") {
            throw IllegalArgumentException()
        }
    }
}
It succeeds when I execute the test from IntelliJ and fails when I run the spec.
a
Hello 👋 We are already tracking this, the issue comes from having ' in the test name. We will be able to fix or advise soon :)
d
I did not notice the error message but that appears to be that issue. Thanks for looking into that.
👍 1
m
I was planning on asking about this as well. Is this a problem with the kotest plugin not removing single quotes or is it a problem with intellij not correctly quoting them in the command line args? Or is it a case where it's in dispute who should fix it?
s
Both :)
m
Other js testing frameworks support ' in test names so it doesn't seem like this should be a kotest-only issue
s
right, its an easy fix, we just need to quote ' when we make the test name in GradleTestNameFilter, and then make sure we unquote it in the DescriptorFilter classes that parse it.