问答详情
源自:4-1 转账环境的搭建

No tests found matching 是什么错误

java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=demo1], {ExactMatcher:fDisplayName=demo1(com.imooc.demo1.SpringDemo1)], {LeadingIdentifierMatcher:fClassName=com.imooc.demo1.SpringDemo1,fLeadingIdentifier=demo1]] from org.junit.internal.requests.ClassRequest@543c6f6d

at org.junit.internal.requests.FilterRequest.getRunner(FilterRequest.java:37)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createFilteredTest(JUnit4TestLoader.java:77)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:68)

at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:43)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:444)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)


提问者:慕田峪2884171 2017-10-31 15:46

个回答

  • weibo_海角simple_0
    2017-11-02 17:09:44
    已采纳

    加@Test

  • 慕粉3158287
    2017-12-26 14:13:40

    怎么解决的