
Tag: unit tests


Tips & tricks for unit testing in .NET Core 3: Mocking IHttpContextAccessor
Introduction I wanted to write this article because I recently came across an interesting test…
Read MoreASP.NET Core 2.1 middlewares part 2: Unit test a custom middleware
ASP.NET Core 2.1 middlewares part 1: Building a custom middleware ASP.NET Core 2.1 middlewares…
Read MoreHow to fix unit test discovery in VS 2017 with MSTest V2?
Introduction Microsoft Test Framework “MSTest V2” is the evolution of the Microsoft Test Framework and Adapter….
Read MoreHow to unit test private methods in .NET Core applications? (even if it’s bad)
Introduction Yes it’s bad and dirty! Since your private methods are only an implementation detail…
Read More