To my colleagues, for bugging me to finish this project.
And to my love Lotta, who gave me the energy to do it.
Copyright
Brief Table of Contents
Table of Contents
Preface
Acknowledgments
About this Book
About the Cover Illustration
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
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
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
1.1. The challenge: solving the right problem right
1.1.1. Creating poorly written code
1.1.2. Failing to meet actual needs
1.2. Solution: being test-driven
1.2.1. High quality with TDD
1.2.2. Meeting needs with acceptance TDD
1.2.3. What’s in it for me?