0
点赞
收藏
分享

微信扫一扫

java.lang.Exception: No tests found matching Method


JUnit4写测试用例异常

出现了:java.lang.Exception: No tests found matching异常。

1.没加@Test注解;

2.如果用了spring,可能是spring-test版本和Junit4不兼容;

 

我的就是没加@Test

 

举报

相关推荐

0 条评论