Writing C# Unit Tests with xUnit and Moq
April 9, 2020
• 1,370 views
xunitMoqVisual StudioDot Netunit testscoded testshow to use moqusing moq in C#C# mocksc# programminglearn c#C# unit testshow to unit test C#C# moq unit testC# how to use moqC# moqxunit moqxunit mockingc# testingc# test driven developmenttesting code in dotnetdotnetdotnet core centraldotnet tutorialmoq c#moq c# tutorialmocking with moqmocking frameworkmock objectmocking in .nettest driven development
In this video, I demonstrate how you can get set up with a project in Visual Studio to write unit tests. I walk through how you can use xUnit in conjunction with Moq to set up a pattern for adding unit tests for your code. The example is very simple but offers lots of room to build!
Project on GitHub:
https://github.com/ncosentino/ProjectXyz
https://github.com/ncosentino/Macerus
My Social:
LinkedIn: https://www.linkedin.com/in/nickcosen...
Blog: http://www.devleader.ca/
GitHub: https://github....
