Skip to content

Test flows ​

A test flow tests a logical flow. It is a flow like any other, built in the same designer, so a test can send data through a flow, call its ports or check a database afterwards.

Create a test flow ​

In the logical flow's properties, click Create new test flow next to Test flow. The test flow is created and linked. You can also create one with New test flow in the Flow explorer and link it afterwards.

When a flow has a linked test flow, Open test flow opens it from the flow's menu.

Write tests ​

Each Flow test case component is one test. Connect its Test to start pin to the steps of the test.

FieldWhat it does
Execute testSwitch a test off without deleting it
Success on exceptionThe test passes when it throws an error; use it to test failures

A test fails when one of its steps throws an error, unless Success on exception is set.

Run and read results ​

Start the test flow with Start (F5). The test cases run one after another. When they finish, Test results opens with one row per test: executions, failures, duration, the error message and passed or failed.

Earlier runs stay available: open Test results → View in the test flow's properties and pick a run.

Viaducta documentation