Test Driven Development: By Example

Test Driven Development: By Example

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.

1. Описание на русском

414 Request-URI Too Large
Google    
Error
 
Request-URI Too Large The requested URL /translate_a/t... is too large to process.

Автор: БончБруевич
Категория: Литература / Разработка
Добавлен: 04.06.2008 13:19
Просмотров: 6686
Комментарии: 0
-  1  +



Прикрепленные вложения:

Комментариев еще нет, будьте первым!
Вы не можете комментировать. Зарегистрируйтесь, Я свой.




Обратите внимание


 
Cкачать книги бесплатно без регистрации в электронном виде (pdf, chm, txt).Вы можете читать книги онлайн на нашем сайте литературного портала книг.Большая подборка учебников, пособий, интересных книг.Электронные книги на английском языке скачать бесплатно без смс.