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

后端 未结 13 2141
深忆病人
深忆病人 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 03:01

    On the latest IDE (as of Community Edition 2016.1) this option is more simplified.

    right click on the folder you want to be recognized as a source folder:

    Mark Directory As -> Sources Root

提交回复
热议问题