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
A random variable (X) is modelled as an exponentially distributed with mean 30 units. Simulate N = 50 samples from this distribution, and every sample must have m = 20 simulated va

write a program to find the area under the curve y=f(x) between x=a and x=b,integrate y=f(x) between the limits of a and b

The decimal equivalent of (1100) 2   is ? Ans. (1100) 2 = (12) 10

Q. Describe about Instruction set? Instruction set is the boundary where computer designer and computer programmer see the same computer from various viewpoints. From the desig

Your shell should accept and execute the pipe "|"  operator. This will look like the following: | The functionality of this operator is to execute command1 and send i

In primary storage device the storage capacity is fixed. It has a volatile memory. In secondary storage device the storage capacity is not limited. It is a nonvolatile memory. Prim

Q. Weighted-average under perpetual inventory procedure? Weighted-average under perpetual inventory procedure in perpetual inventory procedure firms calculate a new weighted-av

Data is to be transmitted using a modem at 9600 bps. Determine the minimum bandwidth of the system with the following modulation methods (a) FSK (b) ASK. Use the excess bandwidth f

Q. Explain about Zip Drive? Zip Drive: Loads of files, Volumes of data have definitely increased onus on today's computer user and protection of this data is what bugs every

Q. Describe Memory and Memory unit? Input devices can fetch instructions or data only sequentially though a program may or may not be executed sequentially because looping, jum