O'Reilly logo

Design Driven Testing: Test Smarter, Not Harder by Doug Rosenberg, Matt Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required