Chapter 3. "Hello World!" Using DDT

"Hello World!" Using DDT

In this chapter, Alice wakes up and wonders if her adventures through the TDD looking glass were all just a disturbing dream. Meanwhile we'll hit Reboot on the Login example and start over, this time following DDT. We hope this will help to illustrate some of the key differences between the two approaches. In particular, DDT provides a systematic method of identifying, up-front, the critical areas of a design that will benefit the most from automated testing.

Note

As this chapter provides an "end-to-end" run of DDT (from requirements to tests and product code), we'll breeze through a number of concepts that we'll ...

Get Design Driven Testing: Test Smarter, Not Harder 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.