Book description
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
Table of contents
- Copyright
- Dedication
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this Book
- About the Cover Illustration
- Part 1. A TDD primer
- Chapter 1. The big picture
- Chapter 2. Beginning TDD
- Chapter 3. Refactoring in small steps
- Chapter 4. Concepts and patterns for TDD
- Part 2. Applying TDD to specific technologies
- Chapter 5. Test-driving web components
- Chapter 6. Test-driving data access
- Chapter 7. Test-driving the unpredictable
- Chapter 8. Test-driving Swing
- Part 3. Building products with Acceptance TDD
- Chapter 9. Acceptance TDD explained
- Chapter 10. Creating acceptance tests with Fit
- Chapter 11. Strategies for implementing acceptance tests
- Chapter 12. Adopting TDD
- Appendix A. Brief JUnit 4 tutorial
- Appendix B. Brief JUnit 3.8 tutorial
- Appendix C. Brief EasyMock tutorial
- Appendix D. Running tests with Ant
- Resources
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Test Driven: Practical TDD and Acceptance TDD for Java Developers
- Author(s):
- Release date: October 2007
- Publisher(s): Manning Publications
- ISBN: 9781932394856
You might also like
book
Grokking Algorithms
Grokking Algorithms is a friendly take on this core computer science topic. In it, you'll learn …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Test-Driven Java Development
Invoke TDD principles for end-to-end application development with Java About This Book Explore the most popular …
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …