Download Test Driven Development : By Example PDF

2003
Title Test Driven Development : By Example
Authors
Genres Computer Programming Books Software Development Books Software Engineering Books
Publisher Addison-Wesley Professional
ISBN 9780321146533
Clean code that works--now. This is the seeming contradiction that lies behind much of the pain of programming. Test-driven development replies to this contradiction with a paradox--test the program before you write it. A new idea? Not at all. Since the dawn of computing, programmers have been specifying the inputs and outputs before programming precisely. Test-driven development takes this age-old idea, mixes it with modern languages and programming environments, and cooks up a tasty stew guaranteed to satisfy your appetite for clean code that works--now. Developers face complex programming challenges every day, yet they are not always readily prepared to determine the best solution. More often than not, such difficult projects generate a great deal of stress and bad code. To garner the strength and courage needed to surmount seemingly Herculean tasks, programmers should look to test-driven development (TDD), a proven set of techniques that encourage simple designs and test suites that inspire confidence. By driving development with automated tests and then eliminating duplication, any developer can write reliable, bug-free code no matter what its level of complexity. Moreover, TDD encourages programmers to learn quickly, communicate more clearly, and seek out constructive feedback. Readers will learn to: Solve complicated tasks, beginning with the simple and proceeding to the more complex. Write automated tests before coding. Grow a design organically by refactoring to add design decisions one at a time. Create tests for more complicated logic, including reflection and exceptions. Use patterns to decide what tests to write. Create tests using xUnit, the architecture at the heart of many programmer-oriented testing tools. This book follows two TDD projects from start to finish, illustrating techniques programmers can use to easily and dramatically increase the quality of their work. The examples are followed by references to the featured TDD patterns and refactorings. With its emphasis on agile methods and fast development strategies, Test-Driven Development is sure to inspire readers to embrace these under-utilized but powerful techniques. 0321146530B10172002
More Books You May Like
A Twisted Vengeance
A Twisted Vengeance
Candace Robb

As the fourteenth century comes to a close, York seethes on the brink of civil war—and young widow Kate Clifford, stru...

Life and Laughing : My Story
Life and Laughing : My Story
Michael McIntyre

Discover Michael McIntyre's hilarious life-story in Life and Laughing. Michael McIntyre is Britain's biggest comedy star...

The Dead Man Switch
The Dead Man Switch
Tara Moss

'A terrific read' Lynda La Plante Bestselling author Tara Moss returns to crime fiction with a stunning new series, and ...

The Boy, the Mole, the Fox and the Horse
The Boy, the Mole, the Fox and the Horse
Charlie Mackesy

The Sunday Times Bestseller and New York Times Bestseller. A book of hope for uncertain times. 'Feeling a little blue? M...

Madly, Deeply: The Diaries of Alan Rickman
Madly, Deeply: The Diaries of Alan Rickman
Alan Rickman

An international bestsellerOne of Barnes & Noble's Best Biographies & Memoirs of 2022Selected by the Guardian as one of ...

Skinny Bitch by Rory Freedman
Skinny Bitch by Rory Freedman
Rory Freedman

Not your typical boring diet book, this is a tart-tongued, no-holds-barred wakeup call to all women who want to be thin....