Enable hosting functions programmatically in .NET Core
ASP.NET Core Web APIs can be easily hosted programmatically by using TestServer or IWebHost.Run(). It seems though that for functions the only way is to use func CLI via System.Diagnostics.Process (see https://blog.kloud.com.au/2018/11/08/integration-testing-precompiled-v2-azure-functions/).
Please enable hosting functions programmatically.
Nothing currently planned. Keep votes coming.