JUnit4 测试 Parameterized 报错Unrooted Tests : No tests found matching Method initializationError解决方法
baidu,google找到Unrooted Tests相关帖子,但还是没解决。
No tests found matching Method initializationError是说没找到@Test标注的方法,
可我明明用了@Test标注,
那很可能就是这个标签没识别还是怎么的,没被正常识别的原因就是:@Parameters的位置在@Test之后了……
@Parameters移动
原创
2013-05-20 02:16:20 ·
8897 阅读 ·
0 评论