Test Driven: Practical TDD and Acceptance TDD for Java Developers

Front Cover
Simon and Schuster, Aug 31, 2007 - Computers - 544 pages
In test driven development, you first write an executable test ofwhat your application code must do. Only then do you write thecode itself and, with the test spurring you on, you improve yourdesign. In acceptance test driven development (ATDD), you usethe same technique to implement product features, benefiting fromiterative development, rapid feedback cycles, and better-definedrequirements. TDD and its supporting tools and techniques leadto better software faster.

Test Driven brings under one cover practical TDD techniquesdistilled from several years of community experience. With examplesin Java and the Java EE environment, it explores both the techniquesand the mindset of TDD and ATDD. It uses carefully chosen examplesto illustrate TDD tools and design patterns, not in the abstractbut concretely in the context of the technologies you face at work.It is accessible to TDD beginners, and it offers effective and less wellknown techniques to older TDD hands.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

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 SpringControllers
  • Tough issues like multithreaded programs and data access code
 

Contents

Copyright
About the Cover Illustration
A TDD primer
Beginning
Refactoring in small steps
Concepts and patterns for
Applying TDD to specific technologies
Building products with Acceptance
Brief EasyMock tutorial
Resources
Index
List of Figures
List of Tables

Other editions - View all

Common terms and phrases

About the author (2007)

Lasse Koskela, a methodology specialist at Reaktor Innovations in Finland, has coached dozens of teams in agile methods and practices such as test-driven development.

Bibliographic information