Growing Object-Oriented Software, Guided by Tests 在线电子书 图书标签: TDD 软件开发 测试 编程 OO 计算机 程序设计 软件工程
发表于2025-02-07
Growing Object-Oriented Software, Guided by Tests 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025
Part V
评分去年的时候读过,关于TDD比较经典的一本书。
评分例子有些复杂,我基本跳过了第三部分。但其测试驱动开发、甚至驱动设计,拆分功能、渐进式开发,以及编写可维护性强的测试用例的思想和技巧值得借鉴。
评分一本很好的学习TDD,迭代式,渐进式开发的书。里面也讲了很多面向对象设计思想,测试技巧和方法等。
评分对TDD的具体实践很有帮助,就是原文前几个章节推进得实在太慢。
Steve Freeman和Nat Pryce是独立的软件顾问,他们是英国的敏捷软件开发先锋。他们都曾在一些行业和组织机构中工作过:电信业系统开发、金融业、体育新闻报道和市场传播、IBM的薄膜包装应用、工业和学术研究机构等。他们是伦敦XpDay的创始人和组织者,经常出席和组织国际会议。Steve和Nat是几个有影响的开源项目的贡献者,这些项目支持TDD。在2006年,他们共同获得了敏捷联盟的Gordon Pask奖。他们住在英国伦敦。
Foreword by Kent Beck "The authors of this book have led a revolution in the craft of programming by controlling the environment in which software grows." --Ward Cunningham "At last, a book suffused with code that exposes the deep symbiosis between TDD and OOD. This one's a keeper." --Robert C. Martin "If you want to be an expert in the state of the art in TDD, you need to understand the ideas in this book."--Michael Feathers Test-Driven Development (TDD) is now an established technique for delivering better software faster. TDD is based on a simple idea: Write tests for your code before you write the code itself. However, this "simple" idea takes skill and judgment to do well. Now there's a practical guide to TDD that takes you beyond the basic concepts. Drawing on a decade of experience building real-world systems, two TDD pioneers show how to let tests guide your development and "grow" software that is coherent, reliable, and maintainable. Steve Freeman and Nat Pryce describe the processes they use, the design principles they strive to achieve, and some of the tools that help them get the job done. Through an extended worked example, you'll learn how TDD works at multiple levels, using tests to drive the features and the object-oriented structure of the code, and using Mock Objects to discover and then describe relationships between objects. Along the way, the book systematically addresses challenges that development teams encounter with TDD--from integrating TDD into your processes to testing your most difficult features. Coverage includes * Implementing TDD effectively: getting started, and maintaining your momentum throughout the project * Creating cleaner, more expressive, more sustainable code * Using tests to stay relentlessly focused on sustaining quality * Understanding how TDD, Mock Objects, and Object-Oriented Design come together in the context of a real software development project * Using Mock Objects to guide object-oriented designs * Succeeding where TDD is difficult: managing complex test data, and testing persistence and concurrency
书很薄,思想很丰富,结合了TDD思想与OOD思想的融合,还介绍了JMOCK2、HAMCREEST、JUnit4三个最有价值的工具。作者10余年的TDD经验指导性很强,堪称神作。 我相信它可以提升你至少一个档次!
评分有很多书说过要写好的代码,代码要高内聚,低耦合。代码要符合SOLID原则。我们都知道这些说教,这些原则;但是,我们如何才能知道我写的一段代码不好呢,原则往往漂浮在理论层次,理论来源于实践,但是高于实践。我们必须需要一些“硬指标”来衡量我的代码,为什么说这段代码是...
评分这本书2009年10月就出来了,当时没来得及细看,只是把它放入了我的待读列表中。后来查到2010年8月也出了中文版,书名叫《测试驱动的面向对象软件开发》。看完全书后,我发现本书重点谈的还是软件培养问题。Growing这个词出现在书的标题中,非常吸引我的思路。 在前言...
评分书很薄,思想很丰富,结合了TDD思想与OOD思想的融合,还介绍了JMOCK2、HAMCREEST、JUnit4三个最有价值的工具。作者10余年的TDD经验指导性很强,堪称神作。 我相信它可以提升你至少一个档次!
评分本书作者是Mock技术的早期创始人,对OO理论和TDD的理解很深。读本书不仅是学习TDD,更是学习OO思想和方法。相比Kent Beck的《TDD by Example》本书要好一个档次。
Growing Object-Oriented Software, Guided by Tests 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2025