Hands-on guidance to creating great test-driven development practice Test-driven development (TDD) practice helps developers recognize a well-designed application, and encourages writing a test before writing the functionality that needs to be implemented. This hands-on guide provides invaluable insight for creating successful test-driven development processes. With source code and examples featured in both C# and .NET, the book walks you through the TDD methodology and shows how it is applied to a real-world application. Youll witness the application built from scratch and details each step that is involved in the development, as well as any problems that were encountered and the solutions that were applied.
- Clarifies the motivation behind test-driven development (TDD), what it is, and how it works
- Reviews the various steps involved in developing an application and the testing that is involved prior to implementing the functionality
- Discusses unit testing and refactoring
Professional Test-Driven Development with C# shows you how to create great TDD processes right away.
INTRODUCTION xxv
PART I: GETTING STARTED
CHAPTER 1: THE ROAD TO TEST-DRIVEN DEVELOPMENT 3
The Classical Approach to Software Development 4
A Brief History of Software Engineering 4
From Waterfall to Iterative and Incremental 5
A Quick Introduction to Agile Methodologies 6
A Brief History of Agile Methodologies 6
The Principles and Practices of Test-Driven Development 7
The Concepts Behind TDD 8
TDD as a Design Methodology 8
TDD as a Development Practice 8
The Benefi ts lƒs