Interviewer And Interviewee Guide

MVC Developer Interview Question:

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

Submitted by: Muhammad
Yes, all the features in an asp.net 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.
Submitted by: Muhammad

Read Online MVC Developer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.