
- 544 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
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
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Part 1. A TDD primer
Chapter 1. The big picture
I can stand brute force, but brute reason is quite unbearable.Oscar Wilde
1 The acronym TDD is sometimes expanded to Test-Driven Design. Another commonly used term for what we refer to as TDD is Test-First Programming. Theyâre just different names for the same thing.
1.1. The challenge: solving the right problem right
1.1.1. Creating poorly written code
Riddled with defects
Nightmare to maintain, slow to develop
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
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app