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
Type libraries are files that explicitly explain some or all of the contents of components. This haves information about the methods, properties, constants, and other members expos

What are two reasons for using layered protocol? Layered protocol implies protocols used into each layer are the layer's own business that is they don't influence protocol of a

If you open your computers case, the motherboard is the flat, rectangular piece of circuit board to which the whole thing seems to connect to for one reason or one another. It'

Printers are devices which put ink on paper in a controlled manner. They manually produce photographic images orreadable text. Printers have gone through a large transition in tech

Functional units of a computer system: Digital computer systems consist of 3 distinct units. These units are as follows:  Central Processing unit Input unit and Output unit.

Logic Programs: A subset of first order logic is "Logic programs". However logic program having a set of Horn clauses that are implication conjectures when there is a conjunct


Categorized Optimization transformations The structure of program and the way in that data is defined and used in this provide vital clues for optimization. Optimization t

Differentiate between WML-Script and Web-based scripting languages. WML Script is a lightweight procedural scripting language, optimized for small-memory, low-power CPU wireles

What is the importance of XML into EDI and electronic commerce? XML has been explained as lightweight SGML: XML demonstrates great promise for its inherent capability to per