What is Workflow Testing?
Workflow Testing in Xano allows you to quickly build sets of tests that you can use to make sure a specific flow is working as expected. You can think of a ‘flow’ as a set of separate actions, such as multiple APIs that a user might hit when utilizing your application, or data processing across multiple function stacks. Workflow Testing allows you to validate these sets or flows with a single click and get instant visibility into your backend functionality.How do I build workflow tests?
From the sidebar, switch to the Test & Deploy tab and choose Workflow Tests


Test Expressions
Test Expressions are functions used typically in conjunction with a Run Stack to determine if the output of a Run Stack is valid.Using Workflow Tests
In this example, we’ve built a workflow test to make sure our login flow works as expected.


- We have 38% coverage. This means that out of all of the function stacks that exist across our backend, 3/8 of them are used in our tests.
- We have 50% success. This means that out of all of our workflow tests, half of them are successful.
- To run all of our tests takes less than a second.

Additional Information
- Click the settings icon next to a workflow test to clone or delete it.
- When adding a Run Stack, you can click theOpen icon to open that function stack being tested in a new window or tab and quickly make changes.
- When you test a function stack that currently is in draft mode, your workflow test will run the drafted version.
- You can change the data source that all of your workflow test’s functions run against by clicking the Live button at the top of the workflow test function stack.
Databases in Workflow Tests

Selecting a Data Source for a Workflow Test