Save For Later

C# Unit Testing with NUnit

Save For Later

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.

What You'll Learn

  • 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
  • OpenCourser is an affiliate partner of Pluralsight and may earn a commission when you buy through our links.

    From Pluralsight
    Hours 19
    Instructors Jason Roberts, Matthew Renze, Vladimir Khorikov, Mel Grubb, Thomas Claudius Huber
    Language English
    Subjects Programming

    Similar Courses

    Sorted by relevance

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile (33rd - 99th).

    Specialist - Testing $47k

    Accessibility Testing $58k

    Selenium Testing $61k

    Product testing $66k

    Testing Technician 1 $69k

    Testing - QA $83k

    functional testing $87k

    Manufacturing TestIng $103k

    Testing Lead $107k

    Interface Testing $110k

    Testing Technician 4 $114k

    Testing Development $131k

    Courses in this Paths

    Listed in the order in which they should be taken

    Starts Course Information

    On Demand

    Introduction to .NET Testing with NUnit 3

    Releasing bug-ridden code to production is a sure fire way of creating unhappy end-users, management, and development teams. Nobody likes to receive a phone call in the middle of...

    Pluralsight

    Save

    On Demand

    Mocking with Moq and NUnit

    Writing effective unit tests can be tricky when dependencies between classes make it hard to separate what's being tested from the rest of the system. In this course, Mocking with...

    Pluralsight

    Save

    On Demand

    Writing Testable Code

    Testable code is code that makes automated testing quick, easy, and enjoyable. In this course, Writing Testable Code, you'll learn how to write code that is easy to test. These...

    Pluralsight

    Save

    On Demand

    Creating Maintainable Contexts for Automated Testing

    In this course, you'll see a demonstration of a typical hand-built test context, and the factors that make it brittle and hard to maintain. By using software principles we're all...

    Pluralsight

    Save

    On Demand

    Building a Pragmatic Unit Test Suite (You were viewing this course)

    Unit testing is everywhere. It is one of the most widely spread engineering practices in the world of software development. It’s important to know how to apply it in a way that...

    Pluralsight

    Save

    On Demand

    Test Driven Development in C#

    At the core of writing solid and robust C# code is a thorough knowledge of Test Driven Development (TDD). In this course, Test Driven Development in C#, you will learn the skills...

    Pluralsight

    Save

    On Demand

    Better .NET Unit Tests with AutoFixture: Get Started

    The open source AutoFixture library helps reduce the amount of unnecessary code in the arrange phases of test code. It does this by automatically supplying values for test data...

    Pluralsight

    Save

    On Demand

    Approval Tests for .NET

    ApprovalTests is an open source library that enables unit tests to go beyond simple asserts. It allows complex verification of system output that would otherwise be hard and...

    Pluralsight

    Save

    On Demand

    Improving Unit Tests with Fluent Assertions

    When tests fail it can be hard to understand exactly what caused the failures. If test failure messages are ambiguous or not detailed enough you sometimes have to fire up the...

    Pluralsight

    Save

    Pluralsight

    From Pluralsight
    Hours 19
    Instructors Jason Roberts, Matthew Renze, Vladimir Khorikov, Mel Grubb, Thomas Claudius Huber
    Language English
    Subjects Programming

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile (33rd - 99th).

    Specialist - Testing $47k

    Accessibility Testing $58k

    Selenium Testing $61k

    Product testing $66k

    Testing Technician 1 $69k

    Testing - QA $83k

    functional testing $87k

    Manufacturing TestIng $103k

    Testing Lead $107k

    Interface Testing $110k

    Testing Technician 4 $114k

    Testing Development $131k

    Similar Courses

    Sorted by relevance