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

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


原文地址:https://www.cnblogs.com/lhd1998/p/13492753.html