In test driven development, you first write an executable test
of what your application code must do. Only then do you write the
code itself and, with the test spurring you on, you improve your
design. In acceptance test driven development (ATDD), you use the
same technique to implement product features, benefiting from
iterative development, rapid feedback cycles, and better-defined
requirements. TDD and its supporting tools and techniques lead to
better software faster.
Test Driven brings under one cover practical TDD
techniques distilled from several years of community experience.
With examples in Java and the Java EE environment, it explores both
the techniques and the mindset of TDD and ATDD. It uses carefully
chosen examples to illustrate TDD tools and design patterns, not in
the abstract but concretely in the context of the technologies you
face at work. It is accessible to TDD beginners, and it offers
effective and less well known techniques to older TDD hands.
What's Inside
Learn hands-on to test drive Java code How to avoid common TDD
adoption pitfalls Acceptance test driven development and the Fit
framework How to test Java EE components-Servlets, JSPs, and Spring
Controllers Tough issues like multithreaded programs and data
access code