13. Introduction to TDD

IN THIS CHAPTER, we introduce the concept of writing tests much earlier in the development process so that they drive not just the validation of our software, but also its specification, analysis, and design; hence the term test-driven development (TDD). We cover the basic principles of TDD to describe what it involves and walk you through a few cycles of the Test-First Programming practice to illustrate just how easily you can adopt this approach to software development.

The Nature of Test-Driven Development

Programmer tests are similar to unit tests in traditional software testing in that they focus on the structure of the software and are written from the programmer’s point of view. However, these tests have a greater ...

Get Visual Studio Team System: Better Software Development for Agile Teams now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.