Growing Object-Oriented Software, Guided by Tests

358 pages

English language

Published Oct. 21, 2009

ISBN:
978-0-321-50362-6
Copied ISBN!
Goodreads:
4268826

View on OpenLibrary

View on Inventaire

(12 reviews)

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 …

1 edition

Review of 'Growing Object-Oriented Software, Guided by Tests' on 'Goodreads'

A must read for anyone willing to learn and understand how to write concise and maintainable tests, and how to grow a code base in an object oriented fashion. The techniques and principles shown in this book are pure gold: walking skeleton, depth of testing, async code testing, data test builders, mocking, single responsibility, only mock classes you own, hexagonal architecture, etc. If you're still in the fence about the advantages of TDD, this is for you. It displays how quick it is to add new features and make changes with the confidence that you aren't breaking other parts of the system.

However, the only reason I won't rate it a 5 star is that this book study case, which is great if you persevere through its setup and try it out yourself, takes time to understand the techniques they are using. If you try the code it won't compile …

avatar for emick

rated it

avatar for Bookie

rated it

avatar for pcalcado

rated it

avatar for gagliardi_vale

rated it

avatar for mistertim

rated it

avatar for grislyeye

rated it

avatar for madklowns

rated it

avatar for Nostradamnit

rated it

avatar for pderaaij

rated it

avatar for vile_reads

rated it