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

后端 未结 2 1756
谎友^
谎友^ 2021-02-06 15:52

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

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

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-06 16:14

    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. After deployment (using a release management tool like Visual Studio Release Management), a series of unit tests are run (writtin in something like C#) to test the Logic App.

    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. A logic app in the resource group that can run a series of basic tests in a workflow. This one requires a bit more chewing on, but idea being you have a workflow that makes use of connectors or "calling nested apps" to perform basic validation tests (ensure connections are active, etc.)

    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).

提交回复
热议问题