请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

No tests found matching Method

java.lang.Exception: No tests found matching Method saveTest(com.imooc.repository.ProductCategoryRepositoryTest) from org.junit.internal.requests.ClassRequest@5fe94a96

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

at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)

at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)

at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)

at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)


正在回答 回答被采纳积分+3

1回答

提问者 争取不猝死 2018-08-27 16:03:13

自查:方法前未加@Test

https://img1.sycdn.imooc.com//szimg/5b83b03f0001561f06690273.jpg

1 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号