Test:
Junit4+Hamcrest
不多说了,就靠着两个
import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.*;
其他资料:
http://www.tuicool.com/articles/iIF3Ev
http://kinglixing.blog.51cto.com/3421535/748879
TestNG:
http://www.cnblogs.com/TankXiao/p/3888070.html
AssertJ:
http://www.tuicool.com/articles/iIF3Ev
Mock:很重要
easyMock: 很简单
http://jackyrong.iteye.com/blog/1934670
Mockito:API不错
http://blog.csdn.net/zhangxin09/article/details/42422643