Master Integration Testing with ASP.NET 7 and XUnit
System Under Test (SUT) is the application (Razor Pages, MVC, Web ApI) that’s being tested The package AspNetCore.Mvc.Testing needs to be included in the project Test Web Host and test clients are created that are part of the WebApplicationsFactory class which is included in the AspNetCore.Mvc.Testing nuget package The test project should refer to the…
Read more