'No JUnit tests found' in Eclipse

后端 未结 22 2741
闹比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:08

    Some time if lots if Test files are there then Eclipse failed to pass -classpath options for all libs and path due to classpath param lenght limitations. To Solve it go to Run

    Configerations -> JUnit -> Your Project Config -> ClassPath -> Check "Use Temporary Jar Options"
    

    At least it solved my problem.

提交回复
热议问题