Test-Driven Development: By Example

0 ReadsNot yet rated ★ (0 Reviews)
Cover of Test-Driven Development: By Example

Details

Pages216
LanguageEnglish
Publication year2002
File size0.87 MB
FormatPDF
ISBN9780321146533

Book description

Test-Driven Development: By Example introduces test-driven development (TDD) as a practical way to produce working, reliable software: write an automated test before writing the code that makes it pass. Kent Beck presents TDD as a response to the challenge of building clean, dependable programs while managing complexity, offering techniques intended to help developers make progress through small, deliberate steps.

The book follows two TDD projects from beginning to end. Through these examples, readers see how to start with simple tasks and work toward more complicated ones, create tests for logic involving reflection and exceptions, and use patterns to guide decisions about what to test. The examples also demonstrate the xUnit architecture, which underlies many programmer-oriented testing tools.

A central theme is that design can grow alongside the tests. Beck explains how to refactor code to remove duplication and introduce design decisions incrementally, rather than trying to settle every design question in advance. The book connects this disciplined cycle of testing and refinement with simpler designs, more confident changes, clearer communication, faster learning, and constructive feedback. References to the featured TDD patterns and refactorings accompany the project examples.

Written for software developers, the book is suited to programmers seeking a concrete introduction to TDD as well as practitioners looking to strengthen their testing and design habits. Its example-driven approach focuses on applying the method to programming work, with an emphasis on agile development, incremental problem-solving, and software quality.

K
1 book  0 followers

Explore books by this author on TimeReads.

Quotes

No quotes have been published for this book yet.

0 Reviews

Be the first to review this book.
Free download

Preparing your download

Your download will start when the countdown ends.

10seconds
The download will start on this device only.
Reader account

Create an account to get more from TimeReads

Create a free account to save books, follow authors, and return to your library.

Create an account and return to the book