'No JUnit tests found' in Eclipse

后端 未结 22 3042
闹比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 09:16

    I had the same problem and solved like this: I deleted @Test annotation and retyped it. It just worked, I have no idea why.

提交回复
热议问题