Unit test an mvc application, Computer Engineering

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

Ans) Yes, all the features in an asp.net MVC application are interface based and thus mocking is much easier. So, we don't require to run the controllers in an ASP.NET process for unit testing.       

 

 

Posted Date: 4/4/2013 2:48:48 AM | Location : United States







Related Discussions:- Unit test an mvc application, Assignment Help, Ask Question on Unit test an mvc application, Get Answer, Expert's Help, Unit test an mvc application Discussions

Write discussion on Unit test an mvc application
Your posts are moderated
Related Questions
Customized User Preferences offer tremendous versatility to your individual Bugzilla experience. Let's plunge into what you can do! The first step is to click the "Edit prefs" link

Normal 0 false false false EN-IN X-NONE X-NONE MicrosoftInternetExplorer4

1. In an ASCII editor, make an empty text file with the extension .ord. 2. Save the file in the Dat folder of the project. 3. Click To o l s > G UI R e c o r d O p t i o n s

There are various approaches to the classification of Computer Networks. One such classification is based on distance approach. Networks can be classified into LAN, WAN and MAN net

What is the necessity of Interfacing in digital ICs and what are the points to be kept in view, while interfacing between TTL gate and CMOS gate? Ans: To realize the optimum

What are Assemblies? Assemblies are same to dll files. Both have the reusable pieces of code in the shape of classes/ functions. Dll needs to be registered but assemblies have

Direct Addressing and  Immediate Addressing mode - computer architecture:  Immediate Addressing: It is the simplest form of addressing. Here, the operand is itself given

(a) Write short notes on displacement only addressing mode. (b) Explain the formats of a 80-bit floating point number. (c) Given the following assembly program. Instructi

Explain the program translation model The program translation model makes the execution gap through translating a program written in a programming language, termed as the sou

Explain architecture of World Wide Web with the basic entities. The architecture of the World Wide Web, demonstrated below, is the one of clients, as like Netscape, Lynx or Int