Stories involving the mocking framework Moq.
Let's unit test a C# extension method using XUnit's [Theory] and [InlineData] attributes, so we can write lots of tests in little time!
Let's write unit tests for our ASP.NET 5.0 MVC Controller classes, using the goodness of XUnit, Moq, and C#!
Let's write some unit tests! Using Moq and XUnit, let's see how to unit test a sample ASP.NET 5.0 project's business layer.
Using Moq, we'll create a set of "fluent" mocked classes, which will clean up our tests by allowing us to "chain" methods being mocked.
Let's see how to unit test ASP.NET 5.0 applications using XUnit and Moq!
C#, .NET, Web Tech, The Catch Block, Blazor, MVC, and more!
You've successfully subscribed to Exception Not Found
Welcome back! You've successfully signed in.
Great! You've successfully signed up.
Your link has expired
Success! Your account is fully activated, you now have access to all content.