XP strongly advocates for Test Driven Devlopment, Practicing TTD (Test Driven Development) helps team to deliver high quality and mostly bug free product to the customer. In short it helps us to reduce rework and produce well documented test cases. Even team members can test the code without breaking it. The developers can refactor the code without affecting the core functionality later .
So how to Test
Basic steps are
- Write a test to fail
- Write a test to pass
- Start over again.
Let us look at it how to TDD using Visual Studio Team Suite
Other Testing Tools of Interest:
NUnit is open source unit testing framework devloped in C# based on JUnit/xUnits testing frameworks for .Net Languages. Nunit is Attribute based testing framework. which can be downloaded from http://www.nunit.org