Chapter 2. TDD Using Hello World

TDD Using Hello World

We continue our comparison of TDD and DDT techniques in this chapter, with a straightforward "Hello world!" example (actually a system login) performed using the TDD approach. Logging in seems strangely apt for a "Hello world!" example, as (a) it's a simple concept and exists in virtually every serious IT application, and (b) it's the system saying "Hello" to the user (and the user saying "Hello" back).

Note

Note For non-TDDers: You may want to have a casual flip through this chapter just to see what's going on in the coding room down the hall at the TDD shop, and then get engaged in the DDT way of doing things, in ...

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.