Save for later
Mocking with Moq and 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 a Reminder
Get a Reminder
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.
Please login to leave a review
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