Skip to content

Handling Workflow Dependencies

Mark Abrams edited this page Apr 17, 2023 · 9 revisions

A workflow usually has dependencies on one or more external services. For example, a workflow may read a message from a Service Bus queue using a trigger, or read data from a SQL Server database using a SQL Server action, or send an email using a SMTP action. To test a workflow in an isolated environment, these dependencies need to be removed and replaced with something else that enables an action's inputs and outputs to be validated by the test case, without affecting the functionality or behaviour of the workflow.

The testing framework will automatically remove the following dependencies when a workflow is tested:

The testing framework will also remove any retry policies for actions to improve the run-time execution of tests.

These features are described in the next sections.

Clone this wiki locally