Mocking application with Moq

Mocking real implementation of application with fake implementation using Moq
Free tutorial
Rating: 4.6 out of 5 (356 ratings)
12,838 students
1hr 9min of on-demand video
English [Auto]

Understand what Mocking framework is all about
How to work with Moq
How to abstract the real implementation with Mock implementation
How to apply Moq framework in development and Testing


  • Good understanding in C#
  • Good knowledge in API
  • Solid understanding of Unit Testing


 In the course Mocking framework(Moq) we will learn and understand

1. What is Mocking framework all about

2. How to work without Moq and problem while working with real application

3. How to work with Moq

4. How to work and test different components of C# like

            a. Methods/Returns values/ Times method called

            b. Parameters/Tracking parameters

            c. Auto-implemented properties

            d. Properties

5. Working with advanced Moq concepts like strict and loose Moq

6. Working with Property stubbing

With this course one will also get benefit of understanding how developers do testing of real application by isolating the non-focused components using Moq objects.

Who this course is for:

  • This course is designed for both QA and Dev


Software Architect, Consultant,Youtuber and Best Seller
Karthik KK
  • 4.2 Instructor Rating
  • 26,934 Reviews
  • 296,446 Students
  • 32 Courses

I am Karthik K.K. I do consulting, blogging and researching on various different tools and technologies which inspire my interest. I have been into Software Automation Testing for over 15+ years now and my interest in learning new stuffs which enables automation has never been compromised.

Due to my passion in automation testing I got fully exposed to tools and languages like

Desktop & Web : Cypress, Selenium, Specflow,Puppeteer,Plawright, UFT, VS Coded UI, Ranorex ,Test Complete and Cucumber
Mobile : Appium, Robotium,Calabash, Espresso, Selendroid
Languages : C#, Java, Ruby, Powershell, Javascript, VBScript 
Cloud Tools : Azure, Dockers
Misc Tools: Mockito, Rest-assured, Bound-Box,FluentAutomation
Interested in: MVC, Entity framework, LINQ, Fakes, Distributed deployment, SAAS, Event-Driven System

Top companies trust Udemy

Get your team access to Udemy's top 25,000+ courses