问题: Eclipse 提示'No JUnit tests found'
解决: In context menu of your 'test' directory choose 'Build path' -> 'Use as a source folder'. Eclipse should see your unitTests.java files as a source files. Warning 'No JUnit tests found' occures because there is no unitTests.class files in your 'build' directory
PS:2-3-2015
没有@test的class运行时也提示'No JUnit tests found' ,配置后就ok了
PS:2-3-2015
没有@test的class运行时也提示'No JUnit tests found' ,配置后就ok了
没有评论:
发表评论