能否对 Azure 逻辑应用进行自动化回归/集成测试? [英] Can you have automated regression/integration tests for Azure Logic Apps?

查看:9
本文介绍了能否对 Azure 逻辑应用进行自动化回归/集成测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

能否对 Azure 逻辑应用进行自动化回归/集成测试?

Can you have automated regression/integration tests for Azure Logic Apps?

如果可以的话,怎么做?...尤其是在 CI/CD 构建和部署的上下文中

And if you can, how? ... especially in the context of CI/CD builds and deployments

...如果你不能,为什么不呢!

推荐答案

目前还没有任何开箱即用的工具来提供 Azure 逻辑应用的自动化测试.我们有一些客户遵循以下模式之一.还有这篇文章 详细介绍如何创建逻辑应用部署模板:

There isn't any out-of-the-box tooling yet to provide automated testing of Azure Logic Apps. We have a few customers who have followed one of the following patterns. There is also this article that goes into detail on how to create a Logic App deployment template:

  1. 部署后(使用诸如 Visual Studio 发布管理之类的发布管理工具),会运行一系列单元测试(以 C# 之类的方式编写)以测试逻辑应用.

由于逻辑应用可以有任何类型的触发器(在队列项上、在 HTTP 请求上),代码通常会执行操作并断言结果.

Since a logic app could have any kind of trigger (on queue item, on HTTP request), the code usually performs the action and asserts the result.

  1. 资源组中的一个逻辑应用,可以在工作流中运行一系列基本测试.这需要更多的了解,但想法是您有一个使用连接器或调用嵌套应用程序"来执行基本验证测试的工作流程(确保连接处于活动状态等)

这是我们不时讨论的问题,但很想知道您是否对要为应用程序配置哪些类型的工具/配置有任何想法(请记住,某些应用程序触发" 在诸如队列中的消息或 FTP 中的文件之类的东西上).

It's something we have had discussions on from time-to-time, but would love to know if you have any thoughts on what types of tooling/configuration you'd want to configure for an app (remember that some apps "trigger" on something like a message in a queue or a file in FTP).

这篇关于能否对 Azure 逻辑应用进行自动化回归/集成测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆