Visual Studio Toolbox: Unit Testing: Moq Framework
This is the third of a four part series, recorded this summer, where I am joined by Phil Japikse to discuss unit testing. This series expands on the 2017 Unit Testing episode. In this episode, we cover the Moq framework. Mocking provides the ability to simulate an object. For example, you can test a call to a database without having to actually talk to it. The Moq framework is an open source unit testing framework that works very well with .NET code and Phil shows us how to use it.
Links:
- https://www.skimedic.com/blog
- https://github.com/skimedic/presentations/tree/master/UnitTesting
- https://xunit.github.io/
- https://github.com/moq/moq
Episodes in this series:
- Test Driven and Scenario Based Testing
- xUnit
- MOQ Framework (this episode)
- Existing Code