Why does Intellij IDEA suddenly not recognize tests in test folder anymore?

后端 未结 13 2092
深忆病人
深忆病人 2021-02-01 02:26

I\'m using JUnit since I started this project and everything works just fine. I have a couple of hundreds tests, and of course, here and there I start them all. Right click on r

13条回答
  •  有刺的猬
    2021-02-01 02:40

    A poor workaround for this is to let IntelliJ run tests instead of Gradle.

    File > Settings > Build Tools > Gradle > Run Tests With > IntelliJ Test Runner

    This is a similar issue with another test framework on Gradle. https://youtrack.jetbrains.com/issue/IDEA-221159

提交回复
热议问题