没加Test注解报错情况

 1 java.lang.Exception: No tests found matching Method testList(com.neuedu.mapper.EmployeeMapperTest) from org.junit.internal.requests.ClassRequest@511e0a
 2     at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:37)
 3     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init>(JUnit4TestReference.java:33)
 4     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestMethodReference.<init>(JUnit4TestMethodReference.java:25)
 5     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:54)
 6     at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:38)
 7     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:452)
 8     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
 9     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
10     at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

 

posted on 2017-12-26 10:39  ALWAYS☆REMIND  阅读(521)  评论(0编辑  收藏  举报

导航