DescriptionHands-on guidance to creating great test-driven development practice
Test-driven development (TDD) practice helps developers recognize a well-designed application, and encourages writing a test before writing the functionality that needs to be implemented. This hands-on guide provides invaluable insight for creating successful test-driven development processes. With source code and examples featured in both C# and .NET, the book walks you through the TDD methodology and shows how it is applied to a real-world application. You’ll witness the application built from scratch and details each step that is involved in the development, as well as any problems that were encountered and the solutions that were applied.
- Clarifies the motivation behind test-driven development (TDD), what it is, and how it works
- Reviews the various steps involved in developing an application and the testing that is involved prior to implementing the functionality
- Discusses unit testing and refactoring
Professional Test-Driven Development with C# shows you how to create great TDD processes right away.
PART I: GETTING STARTED.
CHAPTER 1: THE ROAD TO TEST-DRIVEN DEVELOPMENT.
CHAPTER 2: AN INTRODUCTION TO UNIT TESTING.
CHAPTER 3: A QUICK REVIEW OF REFACTORING.
CHAPTER 4: TEST-DRIVEN DEVELOPMENT: LET THE TESTS BE YOUR GUIDE.
CHAPTER 5: MOCKING EXTERNAL RESOURCES.
PART II: PUTTING BASICS INTO ACTION.
CHAPTER 6: STARTING THE SAMPLE APPLICATION.
CHAPTER 7: IMPLEMENTING THE FIRST USER STORY.
CHAPTER 8: INTEGRATION TESTING.
PART III: TDD SCENARIOS.
CHAPTER 9: TDD ON THE WEB.
CHAPTER 10: TESTING WINDOWS COMMUNICATION FOUNDATION SERVICES.
CHAPTER 11: TESTING WPF AND SILVERLIGHT APPLICATIONS.
PART IV: REQUIREMENTS AND TOOLS.
CHAPTER 12: DEALING WITH DEFECTS AND NEW REQUIREMENTS.
CHAPTER 13: THE GREAT TOOL DEBATE.
CHAPTER 14: CONCLUSIONS.
APPENDIX: TDD KATAS.