Xiao Peng

My personal blog moves to xiaopeng.me , blogs about design patterns will be synced to here.
肖鹏,ThoughtWorks资深咨询师,目前关注于架构模式、敏捷软件开发等领域,并致力于软件开发最佳实践的推广和应用。
多次为国内大型企业敏捷组织转型提供咨询和培训服务,在大型团队持续集成方面具有丰富的经验。
随笔 - 268, 文章 - 0, 评论 - 602, 阅读 - 30万
  博客园  :: 首页  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

随笔分类 -  C Test

测试
摘要:zz From: http://jupitermoonbeam.blogspot.com/2007/05/dont-expect-too-much.html And http://www.daveastels.com/articles/2006/08/26/one-expectation-per-example-a-remake-of-one-assertion-per-test Don't ... 阅读全文

posted @ 2007-05-18 10:18 勇敢的鸵鸟 阅读(786) 评论(0) 推荐(0) 编辑

摘要:你的单元测试也是每个class对应一个TestClass吗? 阅读全文

posted @ 2007-03-31 16:52 勇敢的鸵鸟 阅读(534) 评论(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 勇敢的鸵鸟 阅读(374) 评论(0) 推荐(0) 编辑

摘要:NMock2 only support mocking interface but not class. If you try to mock class, you will get an error message: System.TypeLoadException: Could not load type 'MultiInterface1' from assembly 'Mocks 阅读全文

posted @ 2006-11-15 21:06 勇敢的鸵鸟 阅读(300) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示