Intelligence View
⚡ tsecurity.de Intelligence
How to Use FakeLogger to Make Testing Easier In .Net
When writing unit tests in .NET, you may need to verify that methods are logging exceptions, errors, or other key information. You might think, No problem,…
When writing unit tests in .NET, you may need to verify that methods are logging exceptions, errors, or other key information. You might think, No problem, I'll just mock ILogger using my favourite mocking library – for example Moq, NSubstitute, or F...