It looks like Microsoft has noticed the TDD movement. In this article on the MSDN site, Eric Gunnerson explains the idea of test-first development and provides a working example that shows you how to put this practice to work in your own applications.