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

后端 未结 13 2138
深忆病人
深忆病人 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:54

    In my case I had to:

    • close the project
    • open the build.gradle file
    • overwrite existing project? Yes
    • right click on project
      • Mark directory as > Resources Root

提交回复
热议问题