We may earn an affiliate commission when you visit our partners.
David Davis, Jason Roberts, Matthew Renze, Vladimir Khorikov, Thomas Claudius Huber, and Mel Grubb

Unit testing has become standard practice for today's software developers and NUnit is one of the most popular and mature unit testing frameworks available for .NET. The goal of this learning path is to help you understand how to write clean, testable code, all the way from writing your first test to mocking out dependencies to developing a pragmatic suite of unit tests for your application.

Enroll now

Share

Help others find Paths from Pluralsight by sharing it with your friends and followers:

What's inside

Five courses

Introduction to .NET Testing with NUnit 3

(2 hours)
NUnit is a popular .NET test framework. This course teaches you how to test your code with NUnit 3, including asserts, categories, data-driven tests, and customization.

Mocking with Moq 4 and NUnit

(1 hours)
Writing unit tests can be tricky when dependencies make it hard to isolate what's being tested. This course teaches you how to use Moq 4 and NUnit to create mock objects and make writing unit tests easier.

Creating Maintainable Contexts for Automated Testing

(1 hours)
Learn how to create effective and maintainable test contexts that guide your team. Use Object Mother and Object Builder patterns to keep contexts focused on relevant details.

Test Driven Development in C# 8

(2 hours)
Test Driven Development (TDD) is a powerful approach to build solid and robust software. This course teaches you how to use TDD in C# to test and implement new features in your .NET projects.

Writing Testable Code

(2 hours)
In this course, you'll learn how to write code that is easy to test. These skills will make practices like unit testing and test-driven development easier to accomplish. Testable code is code that makes automated testing quick, easy, and enjoyable.

Learning objectives

  • Creating unit tests using nunit
  • Running unit tests from visual studio
  • Mocking dependencies using the moq framework
  • Validating method calls using the moq framework
  • Creating partial mock classes
  • Writing testable code
  • Build a unit testing suite for your application
  • How to use autofixture to create test data

Save this collection

Save C# Unit Testing with NUnit to your list so you can find it easily later:
Save
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser