Using Moq Callback to set values to drive tests
How to set a value on an object passed to a mock to drive conditional logic further in the system under test
How to set a value on an object passed to a mock to drive conditional logic further in the system under test
Asserting numbers of items in a list or collection is vital to unit tests, but which to choose?
Looking a the new version of Microsoft’s Feature Management nuget package and how to get it working in a console application without Azure!
Harnessing the power of the C# 8 using declarations to aid with unit test assert clarity
How many times do you create a private options variable when using json serializer and end up with duplicate code? Let’s take a look at one option to help resolve this.
Looking at how to verify calls to Ilogger based extension methods using Moq.
Investigating how to write integration tests while swapping out dependencies with mocked instances using Moq
How to make you method parameter checks not take up a chunk of the method body
Writing integration tests for your application while keeping your tests as DRY as possible by removing the boiler plate code
Looking at how you can write integration tests for your application but swapping out a 3rd party dependency