Prentice.Hall.Test-Driven.Development.A.Practical.Guide

时间:2011-12-02 03:39:49
【文件属性】:

文件名称:Prentice.Hall.Test-Driven.Development.A.Practical.Guide

文件大小:2.59MB

文件格式:CHM

更新时间:2011-12-02 03:39:49

Test-Driven Development

Test-Driven Development: A Practical Guide presents TDD from the perspective of the working programmer: real projects, real challenges, real solutions, ...real code. Dave Astels explains TDD through a start-to-finish project written in Java and using JUnit. He introduces powerful TDD tools and techniques; shows how to utilize refactoring, mock objects, and "programming by intention"; even introduces TDD frameworks for C++, C#/.NET, Python, VB6, Ruby, and Smalltalk. Invaluable for anyone who wants to write better code... and have more fun doing it!


网友评论

  • 读了前面部分,感觉写得不错。实际UI开发中,我们没有使用EasyMock,而是采用UI-Presenter-logicBusiness模式,UI除了布局所有的逻辑都委托给presenter来实现。对于Presenter的测试采用对UI和logicBusiness都设置stub。
  • 一本由具体项目开始,讲述使用junit将项目从Start-End,始终贯彻Test Drive development 的好书, 有实际指导价值