Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Master .NET and C# Unit Testing with NUnit and Moq
Rating: 4.2 out of 5(707 ratings)
4,366 students

Master .NET and C# Unit Testing with NUnit and Moq

Become an expert in unit testing with NUnit, Moq, dotMemoryUnit, ReSharper and other tools!
Created byDmitri Nesteruk
Last updated 8/2017
English

What you'll learn

  • What unit tests are for and how they are written
  • How to set up and use the NUnit test framework
  • What are the different test doubles: fakes, stubs, mocks
  • How to effectively use the Moq mocking framework
  • How to use the ReSharper unit test runner
  • How to write memory-related unit tests using dotMemoryUnit

Course content

7 sections44 lectures3h 13m total length
  • Introduction3:32

Requirements

  • Good understanding of C#
  • Familiarity with an IDE such as Visual Studio

Description

The goal of this course is to teach you Unit Testing and the use of the latest and greatest tools and frameworks available on the market today. This course covers the following technologies:

  • NUnit, the most popular unit test framework available for .NET
  • Moq, a mocking framework
  • dotMemoryUnit, a unit test framework for testing memory consumption
  • ReSharper (its unit test runner) used extensively in this course
  • dotCover is used to illustrate the concepts of code coverage and continuout testing

In this course you'll learn what unit tests are, how to write and execute them, what are fakes/mocks/stubs/moles and how to use a mocking framework.

Who this course is for:

  • .NET developers wishing to learn about using unit testing
  • Experienced developers wishing to expand their unit testing skills