Replacing DI container registrations for ASP.NET Core scenario testing
Integration testing an ASP.NET Core application is made easy using the Microsoft.AspNetCore.TestHost NuGet package. It allows for setting up an in memory test host and running requests against it.