Using custom startup class with ASP.NET Core integration tests

added by DotNetKicks
4/5/2019 4:59:20 AM

2 Kicks, 200 Views

My previous post demonstrated how to use custom appsettings.js file with integration tests in ASP.NET Core. But in practice it's not enough and very often we need custom startup class that extends the one in web application project to configure application for integration tests. This blog post shows how to do it.