执行JUNIT4时报错

来源:4-7 mybatis整合Spring编码

攻城狮Flion

2017-08-27 23:56

java.lang.Exception: No tests found matching [{ExactMatcher:fDisplayName=testReduceNumber], {ExactMatcher:fDisplayName=testReduceNumber(com.bfs.dao.SeckillDaoTest)], {LeadingIdentifierMatcher:fClassName=com.bfs.dao.SeckillDaoTest,fLeadingIdentifier=testReduceNumber]] from org.junit.internal.requests.ClassRequest@6659c656

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

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)


写回答 关注

1回答

  • 慕粉1224192616
    2017-09-15 14:50:00

    看下这篇博客,对于这个作物写的很详细http://blog.csdn.net/sinat_32873711/article/details/53780453

Java高并发秒杀API之业务分析与DAO层

Java实现高并发秒杀API的第一门课,还等什么,赶快来加入吧

87424 学习 · 496 问题

查看课程

相似问题