Mock Objects in Unit Testing

在MSN上遇到了老哥(chen56)得知最近辞职在家开发了一个小工具,并放到了sf.net上

HiMock   http://himock.sourceforge.net/

以前对TDD了解一些,实践过几次,感觉也很好;不过Mock Objects的概念今天还是第一次听到-_-!

搜索MO,发现在XP2000上就已经提出了这个概念:

Endo Testing: Unit Testing with Mock Objects

Unit testing is the testing of software units in isolation. However, most units do not work alone, but they collaborate with other units. To test a unit in isolation, we have to simulate the collaborators in the test.Mock Objects are test-oriented replacements for collaborators.

目前MO的项目还有 EasyMockJMock

挺感兴趣,最近打算研究一下;并答应老哥做这个开源项目的文档国际化的工作

一个很好的学习锻炼的机会

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值