×

Mocking with Moq 4 and xUnit

Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare+
Duration

2h 15m

level

Beginner

Course Creator

Jason Roberts

Last Updated

17-Mar-22

Writing unit tests is hard when dependencies between classes make it tough to separate what’s being tested from the rest of the system. Moq, the most popular mocking library for .NET, makes it easy to create mock dependencies to make testing easier.

Add your review

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 4 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.
Author Name: Jason Roberts
Author Description:
With over 15 years of experience in both frontend and backend software development, Jason Roberts is a freelance developer, trainer, and author. He holds a Bachelor of Science degree in computing, is the author of several books, and writes at his blog DontCodeTired.com. Jason is an open source contributor and in addition to enterprise software development, he has designed and developed Windows Store and Windows Phone apps.

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “Mocking with Moq 4 and xUnit”

Your email address will not be published. Required fields are marked *

Mocking with Moq 4 and xUnit
Mocking with Moq 4 and xUnit
Edcroma
Logo
Compare items
  • Total (0)
Compare
0
https://login.stikeselisabethmedan.ac.id/produtcs/
https://hakim.pa-bangil.go.id/
https://lowongan.mpi-indonesia.co.id/toto-slot/
https://cctv.sikkakab.go.id/
https://hakim.pa-bangil.go.id/products/
https://penerimaan.uinbanten.ac.id/
https://ssip.undar.ac.id/
https://putusan.pta-jakarta.go.id/
https://tekno88s.com/
https://majalah4dl.com/
https://nana16.shop/
https://thamuz12.shop/
https://dprd.sumbatimurkab.go.id/slot777/
https://dprd.sumbatimurkab.go.id/
https://cctv.sikkakab.go.id/slot-777/
https://hakim.pa-kuningan.go.id/
https://hakim.pa-kuningan.go.id/slot-gacor/
https://thamuz11.shop/
https://thamuz15.shop/
https://thamuz14.shop/
https://ppdb.smtimakassar.sch.id/
https://ppdb.smtimakassar.sch.id/slot-gacor/
slot777
slot dana
majalah4d
slot thailand
slot dana
rtp slot
toto slot
slot toto
toto4d
slot gacor
slot toto
toto slot
toto4d
slot gacor
tekno88
https://lowongan.mpi-indonesia.co.id/
https://thamuz13.shop/
https://www.alpha13.shop/
https://perpustakaan.smkpgri1mejayan.sch.id/
https://perpustakaan.smkpgri1mejayan.sch.id/toto-slot/
https://nana44.shop/
https://sadps.pa-negara.go.id/
https://sadps.pa-negara.go.id/slot-777/
https://peng.pn-baturaja.go.id/
https://portalkan.undar.ac.id/
https://portalkan.undar.ac.id/toto-slot/
https://penerimaan.ieu.ac.id/
https://sid.stikesbcm.ac.id/