Tech Tutorials Database
GeekArticles Microsoft ASP.NET
 

MVC Test Driven Development: Session Variables

 
Author: codeproject.com
Category: ASP.NET
Comments (0)

When you write a controller which is unit testable, it would be better to avoid any dependency to the to make things easier. If you are using any of the session variables in your controller, it will make your controller difficult to test.

Read More...




Sponsored Links




Read Next: Developing Web Applications with ASP.NET MVC3 and Entity Framework 4.1



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe