Save for later

Mocking with Moq and xUnit

C# Unit Testing with xUnit,

Writing unit tests can be difficult, time-consuming, and slow when you can't isolate the classes you want to test from the rest of the system. In this course, Mocking with Moq and xUnit, you'll learn how to create mocks and use them as dependencies to the classes you want to test. First, you'll discover how to configure mocked methods and properties to return specific values. Next, you'll learn how to perform behavior/interaction testing to check your classes are interacting correctly with their dependencies. Finally, you'll explore how to setup mock exceptions, mock events, and use additional mocking techniques. When you're finished with this course, you'll have the necessary knowledge to use Moq to unit test your classes in isolation by creating and using mock objects.
Get Details and Enroll Now

OpenCourser is an affiliate partner of Pluralsight and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating Not enough ratings
Length 2.2 hours
Starts On Demand (Start anytime)
Cost $35/month (Access to entire library- free trial available)
From Pluralsight
Instructor Jason Roberts
Download Videos On Windows, MacOS, iOS, and Android Pluralsight app
Language English
Tags Software Development

Get a Reminder

Send to:

Similar Courses

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

Writing Tutor 6 $22k

Writing Coordinator $39k

Teaching Writing $44k

Lecturer in Writing $44k

Writing Counselor $52k

Writing Tutor, Writing Center $55k

Writing Tutor, Business Writing Center $56k

Research/Writing $57k

Writing Analyst $60k

Writing Tutor, Writing Center Fellow $61k

technical writing $79k

Writing Instructor (University Writing) $80k

Write a review

Your opinion matters. Tell us what you think.

Rating Not enough ratings
Length 2.2 hours
Starts On Demand (Start anytime)
Cost $35/month (Access to entire library- free trial available)
From Pluralsight
Instructor Jason Roberts
Download Videos On Windows, MacOS, iOS, and Android Pluralsight app
Language English
Tags Software Development

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now