How-to · Lesson 11 of 19
Test Cases: Regression Testing AI Workflows
You improved a workflow this morning. Did you also break it? Save test cases with the output you expect, run them all before every publish, and download the report.
What You Will Learn
- Where test cases live: the Test Cases section at the bottom of a use case
- Creating a test case with an input and the output you expect
- The three assertion modes: none passes if the workflow completes, exact needs a full match, contains needs the expected fields
- Running a single test and reading whether it passed or failed
- Generate with AI: choosing an LLM to draft more test cases for the same workflow
- Running the whole suite with Run All as you optimise the workflow
- Downloading a report of every test case before you publish