【发布时间】:2021-12-17 03:28:58
【问题描述】:
我有一个向本地资源发送 HTTP 请求的 ASP.NET Core Web API。 adding Hybrid Connections to the App Service(在“网络”下)使这成为可能。这很好用。
我添加了调用我的 API 端点的integration tests。当我在 Azure DevOps 管道中运行这些测试时,显然这些本地资源不可用,因为不涉及混合连接。
我可以将WebApplicationFactory 配置为使用混合连接吗?
【问题讨论】:
标签: azure integration-testing asp.net-core-webapi azure-hybrid-connections