Test Driven Development emphasizes the … need to prepare test scenarios or test cases before writing the code itself… It requires that the programmer be very clear about what tests the program should pass and what test it should fail, bringing such concerns to the forefront of the software design process… An automated job is one that’s always very, very easy to do. These automated tests are meant to be run every time there’s a code change and are referred to as unit tests.
Unit testing with NUnit is useful for testing class libraries that makeup an ASP.NET application, but is not designed to test the UI portions of an ASP.NET application. There is, however, an additional free tool, NUnitAsp, that is designed to provide unit testing for the GUI portion of a Web application.
- There is a nice book by James Newkirk and Alexei A. Vorontsov titled Test Driven Development in .NET
- Introduction to Extreme Programming
- Rules and Practices of Extreme Programming
- Wiki resources on Test Driven Development and Extreme Programming
- Refactoring code – Another hot topic in eXtreme programming