Interviews Questions and Answers



Is it possible to unit test an MVC application without running the controllers in an ASP.NET process?

Posted by: Teena
On 25 Mar 2012 | Views: 781 | Categories: MVC
Interview Answers(1)

 On 25 Mar 2012 10:16:35 AM
Yes, all the features in an MVC application are interface based and hence mocking is much easier. So, we don't have to run the controllers in an ASP.NET process for unit testing.

Post your Answers


Other lins

.Net Techies
Other lins