Chapter 3. Define Tests Up Front

With the advent of agile methods, Test-Driven Development (TDD) has been gaining momentum. A mantra of agile is that stories are completed, not merely written, every iteration. This means they have to go through testing to be considered “done, done, done.” Many teams have experienced the productivity gains and value of TDD. Many teams have, unfortunately, shied away from it as well. We believe that the value and reason that TDD works are not fully appreciated. This chapter begins by defining testing and then discusses both why TDD works and why it isn’t really testing up front.

A Trim Tab: Testing and Testability

As mentioned in the preface, this book represents the set of trim tabs1 we, at Net Objectives, consider ...

Get Essential Skills for the Agile Developer: A Guide to Better Programming and Design now with the O’Reilly learning platform.

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