Silicon Valley Code Camp : October 3rd and 4th, 2009session
Test Driven Development: an intro for C# developers
About This Session
If you want to write “clean code that works – now”, you should look into test-driven development. In a nutshell, the idea of TDD is to first write automated tests, and only then the code that should pass the test. It is a simple and methodical way to write good code, fully tested from the get-go; beyond that, it also promotes better design, and helps keep your sanity during projects. My goal in this session is to get you started with TDD, so that you are ready to use it the moment you leave the room. I will demonstrate how TDD works on a small example, using both open-source tools like NUnit, and the testing tools Microsoft has added to Visual Studio 2008. This session is aimed for beginners.