Interviewer And Interviewee Guide

Model View Controller (MVC) Interview Question:

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

Submitted by: Administrator
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: Administrator

Read Online Model View Controller (MVC) Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.