How To CORRECTLY Unit Test A .Net API Using Moq & AutoFixture

Israel Quiroz
Israel Quiroz
15.6 هزار بار بازدید - 2 سال پیش - Wondering how to properly Unit
Wondering how to properly Unit Test your .Net API? Well I have you covered in this video where I show you guys my API created using the repository pattern in c# .net 5.0. I'll show you guys how you can harness Moq and AutoFixture to save alot of time while Unit Testing, allowing you guys to not spend so much time on the set up and be able to test or assert whatever you need. You will be able to take these skills and build on them for more complex tests. These are definitely not the only way to unit test, but its my preferred way of testing my APIs.

Support Me On Patreon: Patreon: israelquiroz
Follow Me On TikTok: https://www.tiktok.com/@israelquiroz9...
All My Links Here: https://linktr.ee/israelquiroz

#DotNetUnitTesting #AspDotNetCoreUnitTesting #UnitTestingDotNetAPI
2 سال پیش در تاریخ 1401/03/03 منتشر شده است.
15,621 بـار بازدید شده
... بیشتر