Mock Objects in Unit Testing
2004-08-11 00:00
375 查看
在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的项目还有 EasyMock 、JMock
挺感兴趣,最近打算研究一下;并答应老哥做这个开源项目的文档国际化的工作
一个很好的学习锻炼的机会
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的项目还有 EasyMock 、JMock
挺感兴趣,最近打算研究一下;并答应老哥做这个开源项目的文档国际化的工作
一个很好的学习锻炼的机会
相关文章推荐
- (转)用Mock Object进行独立单元测试(Testing in isolation with mock objects)
- Mock Objects in Unit Tests
- PHP Unit Testing & Mock Objects with SimpleTest plugin for Eclipse
- Unit Testing in JUnit
- Unit-Testing in a Project --- 单元测试
- 《Pragmatic unit testing:in java with Junit》阅读
- Mock HttpContext in UnitTest
- Breaking Tight Coupling by using Mock Objects(Chapter 4 of Python Testing Beginner's Guide)
- 电子书下载:Pragmatic Unit Testing in C# with NUnit
- Pragmatic Unit Testing in C# with NUnit, 2nd Edition
- Unit Testing in Android
- 《Pragmatic Unit Testing In Java with JUnit》—单元测试之道读后感
- Overriding Java methods in Groovy for unit testing
- [Angular + Unit Testing] Mock HTTP Requests made with Angular’s HttpClient in Unit Tests
- 深入探讨Unit Testing in Android
- [寻书]请问谁有《Pragmatic Unit Testing in C# with NUnit 》的电子版,请发给我一下,谢谢!
- Unit Testing All-in-One
- Java Unit Testing with JUnit in NetBeans
- 《Pragmatic Unit Testing in C#》-Part1
- introduction to mock objects in ruby