HOME > Development > Unit Testing in .NET and C# with NUnit and MOQ

Unit Testing in .NET and C# with NUnit and MOQ

  • Development
  • Apr 21, 2025
SynopsisUnit Testing in .NET and C# with NUnit and MOQ, available at...
Unit Testing in .NET and C# with NUnit MOQ  No.1

Unit Testing in .NET and C# with NUnit and MOQ, available at $49.99, has an average rating of 4.25, with 26 lectures, 1 quizzes, based on 26 reviews, and has 1128 subscribers.

You will learn about Unit Testing Concepts and Fundamentals Writing and Executing Tests with NUnit Mocking and Mocking Frameworks (MOQ) Test Driven Development (TDD) Techniques of Testing Legacy (old) Code This course is ideal for individuals who are .NET Developers or Test Engineers It is particularly useful for .NET Developers or Test Engineers.

Enroll now: Unit Testing in .NET and C# with NUnit and MOQ

Summary

Title: Unit Testing in .NET and C# with NUnit and MOQ

Price: $49.99

Average Rating: 4.25

Number of Lectures: 26

Number of Quizzes: 1

Number of Published Lectures: 26

Number of Published Quizzes: 1

Number of Curriculum Items: 27

Number of Published Curriculum Objects: 27

Original Price: A$29.99

Quality Status: approved

Status: Live

What You Will Learn

  • Unit Testing Concepts and Fundamentals
  • Writing and Executing Tests with NUnit
  • Mocking and Mocking Frameworks (MOQ)
  • Test Driven Development (TDD)
  • Techniques of Testing Legacy (old) Code
  • Who Should Attend

  • .NET Developers
  • Test Engineers
  • Target Audiences

  • .NET Developers
  • Test Engineers
  • If you’re a .NET developer looking to improve the quality and reliability of your code, then this online course on Unit Testing in .NET  and C# with NUnit and MOQ is perfect for you!

    In this comprehensive course, you’ll learn everything you need about NUnit and its usage in the latest version of .NET.

    With C#, including how to write practical unit tests using the NUnit and MOQ frameworks. You’ll also learn about Test Driven Development (TDD) and how to apply it to your projects.

    But that’s not all—we’ll also cover unit testing legacy code, a crucial skill for any developer who wants to maintain and improve existing codebases. To make sure you’re fully prepared for any job interviews, we’ve included interview questions and answers related to unit testing and NUnit.

    Our expert instructor will guide you through the course, providing clear explanations and hands-on examples to help you master the material. By the end of the period, you’ll deeply understand NUnit and unit testing and the skills and knowledge needed to apply these techniques to your projects confidently.

    This course is perfect for anyone who wants to take their .NET development skills to the next level. Whether you’re a beginner looking to learn the basics of unit testing or an experienced developer looking to improve your skills, this course has everything you need to succeed.

    So don’t wait – enrol now and start mastering unit testing with NUnit today!

    Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: What is Unit Testing ?

    Lecture 3: What is NUnit?

    Chapter 2: Writing Tests

    Lecture 1: Writing The First Test with NUnit: Arrange, Act, Assert.

    Lecture 2: The TestFixture Attribute

    Lecture 3: Test Methods Naming Conventions

    Chapter 3: Asserts

    Lecture 1: Simple Asserts

    Lecture 2: Handling Exceptions

    Lecture 3: Working with Types (IsInstanceOf and IsAssingableFrom methods)

    Lecture 4: The StringAssert Class

    Lecture 5: The CollectionAssert Class

    Lecture 6: Asserting with Constraints

    Chapter 4: Advanced Topics

    Lecture 1: TestFixture – Advanced

    Lecture 2: Setup and TearDown

    Lecture 3: The TestCase Attribute – Passing values to parametrised test methods.

    Lecture 4: Grouping Asserts Together

    Chapter 5: Mocking Technique and MOQ Framework

    Lecture 1: Intriduction to Mocking and MOQ

    Lecture 2: The Personal Photos Project

    Lecture 3: Testing an ASP.NET MVC Action with MOQ Framework and NUnit

    Lecture 4: Testing an async ASP.NET MVC Action with Mock

    Lecture 5: Using Setup and Return with MOQ

    Chapter 6: Test-Driven Development or TDD

    Lecture 1: Introduction to Test-Driven Development (TDD)

    Lecture 2: TDD Demo – Writing C# Code with TDD Technique

    Chapter 7: Testing the Legcy Code

    Lecture 1: The Common Technique of Testing a Legacy (Old) Code

    Lecture 2: Testing a Legacy Code in Action

    Chapter 8: Interview Questions

    Chapter 9: Bonus Lectures

    Lecture 1: Bonus: Using AI for Generating Unit Tests Automatically

    Instructors

  • Unit Testing in .NET and C# with NUnit MOQ  No.2
    Aref Karimi
    Technology Leader and Evangalist
  • Rating Distribution

  • 1 stars: 0 votes
  • 2 stars: 1 votes
  • 3 stars: 3 votes
  • 4 stars: 10 votes
  • 5 stars: 13 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!