HOME > Development > Master .NET and C# Unit Testing with NUnit and Moq

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

  • Development
  • Nov 29, 2024
SynopsisMaster .NET and C# Unit Testing with NUnit and Moq, available...
Master .NET and C# Unit Testing with NUnit Moq  No.1

Master .NET and C# Unit Testing with NUnit and Moq, available at $64.99, has an average rating of 4.35, with 44 lectures, based on 693 reviews, and has 4294 subscribers.

You will learn about 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 This course is ideal for individuals who are .NET developers wishing to learn about using unit testing or Experienced developers wishing to expand their unit testing skills It is particularly useful for .NET developers wishing to learn about using unit testing or Experienced developers wishing to expand their unit testing skills.

Enroll now: Master .NET and C# Unit Testing with NUnit and Moq

Summary

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

Price: $64.99

Average Rating: 4.35

Number of Lectures: 44

Number of Published Lectures: 44

Number of Curriculum Items: 44

Number of Published Curriculum Objects: 44

Original Price: $39.99

Quality Status: approved

Status: Live

What You Will 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
  • Who Should Attend

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

  • .NET developers wishing to learn about using unit testing
  • Experienced developers wishing to expand their unit testing skills
  • 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.

    Course Curriculum

    Lecture 1: Introduction

    Chapter 1: Introduction to NUnit

    Lecture 1: Introduction

    Lecture 2: What is Unit Testing?

    Lecture 3: Setting Up a Unit Testing Project

    Lecture 4: Unit Test Runners: Standalone, VS, R#/Rider

    Lecture 5: Bank Account Scenario

    Lecture 6: Summary

    Chapter 2: Assertions

    Lecture 1: Overview

    Lecture 2: Basic Assertions and Possible Test Results

    Lecture 3: Warnings

    Lecture 4: Arrange Act Assert

    Lecture 5: Multiple Assertions

    Lecture 6: Exceptions

    Lecture 7: Summary

    Chapter 3: Testing Methodologies

    Lecture 1: Overview

    Lecture 2: Data-Driven Testing

    Lecture 3: Code Coverage with dotCover

    Lecture 4: Continuous Testing with dotCover

    Lecture 5: Memory Testing with dotMemoryUnit

    Lecture 6: Summary

    Chapter 4: Test Doubles

    Lecture 1: Overview

    Lecture 2: Mocks, Stubs, Fakes, Moles — What Are They All For?

    Lecture 3: Scenario: Bank Account (again!)

    Lecture 4: Static Fakes

    Lecture 5: Dynamic Fakes with ImpromptuInterface

    Lecture 6: Stubs

    Lecture 7: Mocks

    Lecture 8: Summary

    Chapter 5: Mocking Test Objects with Moq

    Lecture 1: Overview

    Lecture 2: Get Started with Moq

    Lecture 3: Mocking Methods: Basics

    Lecture 4: Mocking Methods: Argument-Dependent Mocking

    Lecture 5: Mocking Methods: Out and Ref Parameters

    Lecture 6: Mocking Methods: Exceptions and Return Values

    Lecture 7: Mocking Properties: Basics

    Lecture 8: Mocking Properties: Value Tracking

    Lecture 9: Mocking Events

    Lecture 10: Callbacks

    Lecture 11: Verification

    Lecture 12: Behavior Customization

    Lecture 13: Expectations for Protected Members

    Lecture 14: Summary

    Chapter 6: End of Course

    Lecture 1: Course Summary

    Lecture 2: Bonus Lecture: Other Courses at a Discount

    Instructors

  • Master .NET and C# Unit Testing with NUnit Moq  No.2
    Dmitri Nesteruk
    Software/Hardware Engineering ? Quant Finance ? Algotrading
  • Rating Distribution

  • 1 stars: 8 votes
  • 2 stars: 24 votes
  • 3 stars: 76 votes
  • 4 stars: 246 votes
  • 5 stars: 339 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!