Chapter 3. A Little TDD

This chapter gives you a crash course in test-driven development (TDD) in case you are not familiar with the discipline.

A staple of the TDD process is the test-first technique. Many people who are new to test-driven development actually confuse it with the test-first technique, but they are not the same thing. Test-first is one tool in the TDD toolbelt, and a very important one at that, but there is a lot more to TDD.

The chapter then covers a test’s proper role in your organization. Tests are best thought of as executable specifications. That is, they not only test something but they also document what that thing should do or how it should look.

One very powerful benefit of cyclically defining and satisfying executable ...

Get Test-Driven Database Development: Unlocking Agility now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.