Growing Object-Oriented Software, Guided by Tests

Growing Object-Oriented Software, Guided by Tests

Einband:
Kartonierter Einband
EAN:
9780321503626
Untertitel:
Addison-Wesley Signature Series
Genre:
Programmiersprachen
Autor:
Steve Freeman, Nat Pryce
Herausgeber:
Pearson Academic
Anzahl Seiten:
384
Erscheinungsdatum:
22.10.2009
ISBN:
978-0-321-50362-6

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

Autorentext
Steve Freeman is an independent consultant specializing in Agile software development. A founder member of the London Extreme Tuesday Club, he was chair of the first XPDay and is a frequent organizer and presenter at international conferences. Steve has worked in a variety of organizations, from writing shrink-wrap software for IBM, to prototyping for major research laboratories. Steve has a Ph.D. from Cambridge University, and degrees in statistics and music. Steve is based in London, UK. Nat Pryce has worked as a programmer, architect, trainer, and consultant in a variety of industries, including sports reportage, marketing communications, retail, telecoms, and finance. With a Ph.D. from Imperial College London, he has also worked on research projects and does occasional university teaching. An early adopter of Extreme Programming, he has written or contributed to several open source libraries that support Test Driven Development. He was one of the founding organizers of the London XPDay and regularly presents at international conferences. Nat is based in London, UK. Freeman and Pryce were joint winners of the 2006 Agile Alliance Gordon Pask award.

Klappentext
SummaryMock Objects is an approach to Test-Driven Development that changes theway programmers think about code. It encourages them to think about howobjects interact with each other, rather than just how they work in isolation - asthe founders of Object Oriented programming intended. Objects should bedefined in terms of what they do, not what they are. Using Mock Objects withTest-Driven Development guides developers towards code with clearly focusedobjects and an emphasis on behavior over data - both features of good ObjectOriented programming.This book has been written by two of the originators of the concept, who havedeveloped and refined their understanding over years of practice on realprojects. The book describes the basic concepts and shows how they fit intothe development cycle. It also addresses the common misunderstandings andpitfalls that they have encountered.Author(s) ExpertiseSteve Freeman (UK) is a consultant with ThoughtWorks and has been involvedin the XP community since before there were books. He has a PhD inComputer Science and degrees in Statistics and Music, and was one of theauthors of the first Mock Object paper.Nat Pryce (UK) is an independent consultant with expertise in software design,software development process and practices. He is also a research fellow atImperial College. Nat is a developer of the jMock and nMock libraries for testdrivendevelopment.AudienceThis book is intended for people who are directly concerned with the writingof code: developers at various levels, technical leaders, development managers.They are expected to have experience with an OO language such as C# orJava.The CD/DVD/Web Sitehttp://www.mockobjects.com/

Zusammenfassung
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 rel…


billigbuch.ch sucht jetzt für Sie die besten Angebote ...

Loading...

Die aktuellen Verkaufspreise von 6 Onlineshops werden in Realtime abgefragt.

Sie können das gewünschte Produkt anschliessend direkt beim Anbieter Ihrer Wahl bestellen.


Feedback