'No JUnit tests found' in Eclipse

后端 未结 22 2740
闹比i
闹比i 2020-12-13 08:35

So I\'m new to JUnit, and we have to use it for a homework assignment. Our professor gave us a project that has one test class, BallTest.java. When I right clic

22条回答
  •  时光说笑
    2020-12-13 08:58

    If none of the other answers work for you, here's what worked for me.

    Restart eclipse

    I had source folder configured correctly, and unit tests correctly annotated but was still getting "No JUnit tests found", for one project. After a restart it worked. I was using STS 3.6.2 based of eclipse Luna 4.4.1

提交回复
热议问题