Mocking application with Moq
3.4 (57 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,205 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Mocking application with Moq to your Wishlist.

Add to Wishlist

Mocking application with Moq

Mocking real implementation of application with fake implementation using Moq
3.4 (57 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,205 students enrolled
Created by Karthik KK
Last updated 6/2016
English
English [Auto-generated]
Price: Free
Includes:
  • 1 hour on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • 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
View Curriculum
Requirements
  • Good understanding in C#
  • Good knowledge in API
  • Solid understanding of Unit Testing
Description

 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 is the target audience?
  • This course is designed for both QA and Dev
Compare to Other moq Courses
Curriculum For This Course
10 Lectures
01:08:31
+
Introduction and Installation
2 Lectures 19:06
Introduction to Moq
06:01

Installing and writing simple code without Moq
13:05
+
Working with Moq
8 Lectures 49:25
Part 2b - Writing first simple Mock code with Moq
03:43

Part 3 -- Working with return values of methods using Moq
06:26

Part 4 -- Test times method being called using Moq
06:32

Part 5 - Times method being called using Moq (complex)
06:36

Part 6 -- Matching/Tracking parameters for method with Moq
08:10

Part 7 -- Test C# Property Get and Set operation using Moq
08:28

Part 8 -- Property Stubbing using Moq
04:58

Part 9 -- Strict and Loose Moq
04:32
About the Instructor
Karthik KK
4.3 Average rating
3,762 Reviews
49,682 Students
18 Courses
Software Architect, Consultant,Youtuber and Best Seller

I am Karthik K.K. I do consulting, blogging and researching on various different tools and technologies which inspires my interest. I have been into Software Automation Testing for over 10+ 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 : QTP, Selenium, Specflow, 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