Part 2. Applying TDD to specific technologies

In part 1, you learned to test-drive plain old Java code and put a selection of handy tricks and techniques up your sleeve. Unfortunately, most of the time we won’t be lucky enough to get to work with plain old Java code for a living. Instead, we get all that enterprise stuff that they say is “impossible to test-drive.” Obviously, that’s not true; and in part 2, we’ll bust that myth, one technology at a time.

In chapter 5, we learn to test-drive Java EE web applications—not just pure Java like Java servlets and Spring controllers, but also the view templates we use for generating markup. In chapter 6, we step behind the face of our applications and learn to test and test-drive data-access code: ...

Get Test Driven 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.