So what is moq for developers?Developers can use Moq for Unit testing their methods or classes functionality without disturbing the system.Meaning, Moq can also isolate the actual system and test the abstract methods of the application rather the real implementation itself. This way Moq removes the real dependencies with fake dependencies and test if the real dependency work as expected (otherwise called as isolation) This fake dependencies are achieved by Moq using Castle DynamicProxy .Net library (http://www.castleproject.org/projects/dynamicproxy/)
So what is Moq for Testers?Does really testers requires Moq in the first place seriously ? Well, the answer is
Yes / NoBut it depends on the kind of tester you are. As the growing complexity of programing and application development model in the agile world, testers are no difference from a dev. I seriously consider Moq is not an alien for tester, its yet another tool for testers as well !!! Moq is prevalently used during Integration testing by testers in many companies.
Testers coding GraphLet’s consider the way testers were and testers are with a quick graph, base on their coding skills and/or requirement in current trend
You can find the complete discussion from the video below Thanks for reading the post and watching the video!!! Please leave your comments and let me know if there is anything I should update in this post. Thanks, Karthik KK