ASP.NET OOP and Unit Testing
page 7 of 7
by Brian Mains
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 29966/ 304

Conclusion

Hopefully, you have seen how using a more object-oriented approach to development can make ASP.NET development more unit test friendly and can be a benefit in more complex applications that require a lot of interaction.  You can get the code from my Nucleo project at http://www.codeplex.com/nucleo.


View Entire Article

Article Feedback

Title:  
Name:  
Url: ( Optional )
Comment:  
Please add 8 and 2 and type the answer here:

User Comments

Title: Good Article's   
Name: LoveIndonesia
Date: 10/28/2009 5:59:38 AM
Comment:
good articles but sometime i can't understand the mean in article because my english is bad.:D
Title: wow. just what i needed.   
Name: d potter
Date: 7/22/2009 1:06:37 PM
Comment:
this article explained just what i needed to know at just the right level of detail. spot on, man.

protip: if you're stubbing both Request and Response, combine them into an IRequestResponseManager so your stub can share the same HttpCookieCollection across simulated redirects/etc.
Title: Timely info   
Name: Scheffler
Date: 8/26/2008 6:45:50 PM
Comment:
Nice article Brian. I had a similar need today and this fit the bill quite nicely. I used a pared down version of the ISessionStateManager interface you defined above because I was only barely interacting with the Session state collection. However, this has allowed me to nicely stub out and test locally my persistence logic for some prototyping work before fully fleshing out my NHibernate logic.

Thanks for taking the time to write and share your idea.
Title: Good   
Name: venkat
Date: 1/25/2008 2:43:08 AM
Comment:
its Good...! better to provide code for this.
Title: good   
Name: max
Date: 10/9/2007 3:07:04 AM
Comment:
this article is very..good...keep it up
Title: zee   
Name: mami
Date: 8/13/2007 8:35:18 PM
Comment:
zzzzzzzzzzz

toooo borrring to read and make things much more fuzzzzy than it should be.
Title: gud   
Name: mini
Date: 7/12/2007 9:23:00 AM
Comment:
gud one

Product Spotlight
Product Spotlight 






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2009 ASPAlliance.com  |  Page Processed at 11/21/2009 12:48:23 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search