Test Driven Development with Visual Studio 2010 and C# 4.0
This is the first post of a series about testing tools and techniques using Visual Studio 2010, Team Foundation Server 2010, Microsoft Test Manager 2010, and C# 4.0.
In Test Driven Development unit tests are written before the code under test. Visual Studio allows writing test cases first and simplifies generation from usage of skeletons of tested code. In this video you will see how to create a unit test for the Add method of a Calculator class, and how Visual Studio automatically generates the Calculator class and the Add method skeleton for us:
You can also download the video.
More videos coming soon… keep tuned!