Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理

2006年11月23日

摘要: http://codebetter.com/blogs/jeremy.miller/archive/...Mock objects are like any other tool. Used one way they’re a huge time saver. In other cases they can easily create more work and degrade the quali... 阅读全文

posted @ 2006-11-23 10:00 勇敢的鸵鸟 阅读(232) 评论(0) 推荐(0) 编辑

摘要: http://c2.com/cgi/wiki?SingletonsAreEvil Almost every use of singleton I have encountered was best replaced by an attribute accessor in a higher level object that is then either explicitly passed... 阅读全文

posted @ 2006-11-23 09:56 勇敢的鸵鸟 阅读(298) 评论(0) 推荐(0) 编辑

摘要: http://structuremap.sourceforge.net/Concepts.htm Object Oriented Design Impact of Test Driven Developement and Emergent Design Building Blocks of Object Oriented Programming Inversion of Control (IoC)... 阅读全文

posted @ 2006-11-23 09:25 勇敢的鸵鸟 阅读(311) 评论(0) 推荐(0) 编辑

摘要: http://developernotes.com/archive/2006/06/06/Rhino... NMock不支持mocking classes. Rhino Mocks allows you to create a PartialMock of a class with parameterized constructor arguments. Sample code pieces: ... 阅读全文

posted @ 2006-11-23 09:17 勇敢的鸵鸟 阅读(373) 评论(0) 推荐(0) 编辑