This is a Short Introduction for Test Driven Development in Visual Studio 2010.
This tutorial will contain short and basic explanation of Test Driven Development followed by a quick walk through in Visual Studio 2010 written in C Sharp.
For those of you who don't know, Test Driven Development is a different way of coding. Some say a different way of life. Instead of first developing your software and then test it, What Test Driven Development Methodology offers is to first test, then code.
Basically it allows us to cover a variety of User Stories and Test Cases, build the tests for them and only after all is covered - start coding while testing our code every step of the way.
Some principles of Test Driven Development:
Tests serve as examples of how to use a class or method.Naming. be explicit as possible so that everyone will be able to understand, rewrite and maintain your tests.There's a simple "3 A's" pattern for test driven deve…