Summary

Test Driven Development is an agile methodology used to invert the order in which you develop and test an application. Instead of writing the code and then debugging it, with TDD you write the test to verify the application requirements and then you write the code to satisfy these tests and consequently also the application requirements.

Writing a TDD application may require time, and when it is your first TDD application, it may require double the time you normally need to write an application. The advantage of using TDD is really discovered in the future, when you move from the development phase of the application to the maintenance phase. In this phase you typically spend a lot of time testing, debugging, and trying to fix and sort ...

Get Applied WPF 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.