在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.
挺感兴趣,最近打算研究一下;并答应老哥做这个开源项目的文档国际化的工作
一个很好的学习锻炼的机会
原文链接:https://www.f2er.com/javaschema/288426.html