ASP.NET MVC 4 has improved with testability in mind. When you use ASP.NET along with MVC 4, you are sure to discover writing unit tests are easier compared to ASP.NET MVC apps. This article explains how easy it is to create ASP.NET MVC application for Test Driven Environment using xUnit 1.9 as the unit testing framework and MOQ as the mocking/isolating framework. This also explains the overview of Â xUnit.NET as well as VS 2012 in TDD Point of view. Further in the article, it will explain how to create a simple ASP.NET MVC application using TDD and xUnit.NET.
Have a look at how easy it is to do that here:Â http://www.dotnetcurry.com/ShowArticle.aspx?ID=836