Interview Questions

What is Mocking? ?


(Continued from previous question...)

What is Mocking? ?

Service Mocking, or simulation, is the practice of creating a facsimile environment that works similar to the environment youíre facsimileing

Mocking is also called Isolation, Simulation, or Virtualization, but those are term basically created to move the lowly practice of mocking higher into the value chain. So, for all purposes Isolation, Simulation, and Virtualization are the same as mocking, just much more expensive. Let's call it mocking and move on to the uses of it.

When do I Use Mocking?
Simple; you should use mocks when you canít use the real thing. Of course itís not that easy when you look into it more carefully, so letís look at some of the howís and whatís

(Continued on next question...)

Other Interview Questions