jmockit测试例子
Mockup always comes to us when we try to break system dependency. The conventional mockup frameworks only allowed us to mock instance methods. So the static methods usually become to the death of testability. Of course, we still have some way to make it become testable. 1. If the static methods in
下载地址
用户评论
得为这个资源点个赞,有兴趣的朋友可以下载看看
不再使用jmockit了,感觉不如EasyMock+PowerMock顺手