Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 4
page 6 of 8
by Keyvan Nayyeri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 9936/ 372

Improved Testing Features in ASP.NET MVC Preview 2

The new version of ASP.NET MVC framework (Preview 2) comes with some new major features that improve the testing capabilities for developers. One of these major changes is the ability to create an integrated unit test project for your ASP.NET MVC projects when you create them. Prior to this, you had to create an ASP.NET MVC project then create a unit test project for your code manually. But now Visual Studio asks you to choose if you want to create a new Visual Studio unit test project for your code.

This is shown in Figure 2. After creating an ASP.NET MVC project this dialog shows up to ask you whether you want to create the test project or not.

Figure 2

Of course you can ignore this and not create a unit test project.

On the other hand, Visual Studio test framework (known as MsTest) is not the only choice for you. There are many professional developers who like and prefer other testing frameworks like NUnit (adaption of xUnit for .NET) or MbUnit that are both very well-known among .NET developers and you can use them.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 6 and 7 and type the answer here:

User Comments

Title: Nice   
Name: Nano
Date: 7/25/2008 12:56:14 PM
Comment:
I can't wait any more... Next part plz!
Title: Kblog View   
Name: Shaurav
Date: 7/22/2008 12:41:55 PM
Comment:
When are you going to publish the next part of it where you are going to talk about Views
Title: KBlog DEMO   
Name: Jame
Date: 6/19/2008 10:35:05 PM
Comment:
Can you provide the KBlog DEMO download address?
Title: MVC   
Name: Asmi
Date: 6/9/2008 5:24:51 AM
Comment:
Nice Article!! Waiting for the next to implement these practically.........
Title: MVC   
Name: Basheer Ahmed
Date: 5/17/2008 2:58:30 PM
Comment:
trp to put all series in one pdf file format
Title: sweet   
Name: Johan
Date: 5/13/2008 3:59:36 PM
Comment:
Nice article, looking forward for the next one.






Ads Powered by Lake Quincy Media
Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2008 ASPAlliance.com  |  Page Processed at 8/22/2008 12:57:58 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search