0
kicks
ASP.NET Web API integration testing with in-memory hosting
In-memory hosting is one of the hidden gems of ASP.NET Web API. Let me show you an example today, how a lightweight Web API server can be temporarily established in memory (without elevated priviliges, or cannibalizing ports like self host) and used to perform integration testing, allowing you to test almost the entire pipeline, from the request to the response.