Advertisements
In recent years, Test-Driven Development (TDD) has become a hot technique in software development industry. According to the TDD philosophy, we should first write unit tests based on product specifications, and then write the source code that is required to make the tests succeed. In response to this, Visual Studio provides a couple of related facilities, especially an excellent built-in unit testing framework (in short, MSTest). And also, the latest Visual Studio 2010 supports a new feature named "Generate From Usage", through which we can generate new types and members in the source code promptly when we first reference them in our test cases before they are defined. In this series of articles, I will provide you a detailed tutorial in using Visual Studio 2010's built-in unit testing framework to develop ASP.NET MVC 3.0 based applications. In this first article, we are to focus upon the fundamental concepts and tooling support in Visual Studio 2010