Test Driven
eBook - ePub

Test Driven

Practical TDD and Acceptance TDD for Java Developers

  1. 544 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Test Driven

Practical TDD and Acceptance TDD for Java Developers

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

Trusted by 375,005 students

Access to over 1 million titles for a fair monthly price.

Study more efficiently using our study tools.

Information

Table of contents

  1. Copyright
  2. Dedication
  3. Brief Table of Contents
  4. Table of Contents
  5. Preface
  6. Acknowledgments
  7. About this Book
  8. About the Cover Illustration
  9. Part 1. A TDD primer
  10. Chapter 1. The big picture
  11. Chapter 2. Beginning TDD
  12. Chapter 3. Refactoring in small steps
  13. Chapter 4. Concepts and patterns for TDD
  14. Part 2. Applying TDD to specific technologies
  15. Chapter 5. Test-driving web components
  16. Chapter 6. Test-driving data access
  17. Chapter 7. Test-driving the unpredictable
  18. Chapter 8. Test-driving Swing
  19. Part 3. Building products with Acceptance TDD
  20. Chapter 9. Acceptance TDD explained
  21. Chapter 10. Creating acceptance tests with Fit
  22. Chapter 11. Strategies for implementing acceptance tests
  23. Chapter 12. Adopting TDD
  24. Appendix A. Brief JUnit 4 tutorial
  25. Appendix B. Brief JUnit 3.8 tutorial
  26. Appendix C. Brief EasyMock tutorial
  27. Appendix D. Running tests with Ant
  28. Resources
  29. Index
  30. List of Figures
  31. List of Tables
  32. List of Listings

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • 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.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Test Driven by Lasse Koskela in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming. We have over one million books available in our catalogue for you to explore.