Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run test with kotest IntelliJ plugin when test name contains double spaces #255

Open
leannekwok opened this issue May 4, 2023 · 1 comment
Labels
bug Something isn't working pinned

Comments

@leannekwok
Copy link

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
  }
})

image
I noticed that in the "Run" panel the test name is displayed with a single space, could this mismatch be the cause?

@LeoColman LeoColman transferred this issue from kotest/kotest May 13, 2023
@LeoColman LeoColman added the bug Something isn't working label May 13, 2023
@stale
Copy link

stale bot commented Aug 13, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Aug 13, 2023
@sksamuel sksamuel added pinned and removed wontfix This will not be worked on labels Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pinned
Projects
None yet
Development

No branches or pull requests

3 participants