https://learn.microsoft.com/en-us/dotnet/api/microsoft.aspnetcore.mvc.testing.webapplicationfactory-1.createwebhostbuilder?view=aspnetcore-7.0
WebApplicationFactoryTEntryPoint.CreateWebHostBuilder Method (Microsoft.AspNetCore.Mvc.Testing) |...
Creates a IWebHostBuilder used to set up TestServer.
methodmicrosoftaspnetcoremvctesting