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
Explain Sequential logic circuit Ans. Sequential logic circuit:- (i) Output not only depends upon the recent state of the input but also depend upon the earlier state


basic purpose of cookies

Advantages of Encapsulation You can also delay the resolution of the details until after the design.  You can keep your code modular.

Advantages of EDI 1.  EDI replaces paper transactions with electronic transactions therefore it saves times and speeds up transactions. 2.  It gives a legal record of busine

Q. Design an OR to AND gates combinational network for the following Boolean expression:   ABCD + A'BC'D + A'BC'D' + A'BCD + (A'B'C'D' + AB'CD) Two terms in parenthesis are Don

Simplified the Boolean Algebra (x + y)(x + z) simplifies to ? Ans. x + yz as simplified the Boolean Algebra expression. [(x + y) (x + z)] = xx + xz + xy + yz = x + xz + xy + y

Explain briefly Dead code Elimination of the commonly used code optimization techniques Dead code Elimination: Code which is unreachable or which does not influence the pr

Name the ABAP/4 Modularization techniques. Techniques are:- Source code module. Subroutines. Functions.

Q. What is Arrays Pointers? An array is a collection of similar type of data. Arrays are extremely popular data structures in parallel programming because of their easiness of