Mybatis,单元测试时出如下错误:
java.lang.Exception: No tests found matching [
{ExactMatcher:fDisplayName=deleteById], {ExactMatcher:fDisplayName=deleteById(cn.tedu.mybatis.GroupMapperTest)
], {LeadingIdentifierMatcher:fClassName=cn.tedu.mybatis.GroupMapperTest,fLeadingIdentifier=deleteById]] from org.junit.internal.requests.ClassRequest@621be5d1
我原因:方法前没有配置@test,如你与遇到了与我相同的错误,可以先检查一下你是否有配置@test