Unit testing complex ASP.NET MVC controllers with Moq(trycatchfail.com)
submitted by
Matt_TCF(836) 3 years, 6 months ago
One of the advantages of the new ASP.NET MVC framework is improved testability. Testing simple controllers is as simple as testing any other class. Once you start accessing HttpContext-related things though (such as the request, response, etc), things become much more tricky.
|category: ASP.NET
|Views: 47
tags:
ASP.NET another
Everyones tags:
Your Tags: