Mocking HttpContext, HttpResponse, HttpRequest, HttpSessionState etc. in ASP.Net

While developing web application using ASP.Net. If one wants to follow TDD, there are a lot challenges that one has to face. One of the challenge is to mock various web based objects like HttpContext, HttpRequest etc.. In this post I will talk about mocking following web based objects HttpContext HttpRequest HttpResponse HttpSessionState ( Page’s Session Property’s Type) HttpApplicationState (Application Property’s Type) To ease the unit testing [Read More]