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, 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.
About the Technology
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, 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.
About the Book
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.
What's Inside
- Hands-on examples of how to test-drive Java code
- How to avoid common TDD adoption pitfalls
- ATDD development and the Fit framework
- How to test Java EE components—Servlets, JSPs, and Spring Controllers
- How to handle tough issues like multithreaded programs and data-access code
About the Reader
It is accessible to TDD beginners, and it offers effective and less-well-known techniques to older TDD hands.
About the Author
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.
Quotes
... very engaging writing style, I was blown away!
- Michael Feathers, Consultant, Object Mentor
Full of hard-won lessons that take years to learn on your own.
- Laurent Bossavit, Consultant, 2006 Gordon Pask Award Winner
Strengthen your quality safety-net with the TDD ideas in this book!
- Christopher Haupt, Principal Consultant, Mobirobo LLC
... a well-spring of up-to-date information and practices.
- Jason Rogers, Software Engineer, RiskMetrics Group, Inc.
... it's much better on TDD than other books I've read ... including a wonderful job in providing TDD philosophy.
- Dave Corun, Architect, Social Solutions
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
- Author(s):
- Release date: September 2007
- Publisher(s): Manning Publications
- ISBN: 9781932394856
You might also like
book
Test Driven Development: By Example
Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is …
book
Effective Software Testing
Go beyond basic testing! Great software testing makes the entire development process more efficient. This book …
book
Unit Testing Principles, Practices, and Patterns
Unit Testing Principles, Patterns and Practices shows you how to refine your existing unit tests by …
audiobook
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems
Data is at the center of many challenges in system design today. Difficult issues need to …