SpringBoot测试类异常java.lang.Exception: No tests found matching

java.lang.Exception: No tests found matching

[{ExactMatcher:fDisplayName=Test], {ExactMatcher:fDisplayName=Test(A)]

, {LeadingIdentifierMatcher:fClassName=A,fLeadingIdentifier=Test]] from org.junit.internal.requests.ClassRequest@45afc369

有可能是你没有加入@Test

也有可能是版本不一致的原因导致,每个人引起的问题可能都不太一样。


posted @ 2020-08-12 20:20  RickL  阅读(587)  评论(0编辑  收藏  举报