[翻译]Mocks Aren't Stubs
摘要:
http://www.martinfowler.com/articles/mocksArentStubs.html 只是大致翻译,非全文正式翻译。==============================mock与stub代表的是不同的unit testing方法(分别是 interaction-based 和state-based)。State-Based Testing一个例子:public... 阅读全文
posted @ 2006-03-27 17:32 anf 阅读(4619) 评论(1) 推荐(1) 编辑