Skip to main content
A test suite is a collection of test cases that validate your Blueprint against different scenarios. Instead of manually running your Blueprint with one set of inputs at a time, test suites let you define multiple scenarios and run them all at once.

Opening the Tests panel

Click the Tests button in the right sidebar of the editor to open the Tests panel.
The Tests panel showing “No Test Suites” with Create Empty and Auto-Generate buttons

Without a test suite, the Tests panel offers Create Empty and Auto-Generate.

Creating a test suite

You have two options:

Auto-Generate with AI

Click Auto-Generate to let the Lab Agent analyze your Blueprint and create a comprehensive test suite automatically. It examines your logic (decision branches, boundary conditions, error paths) and generates test cases that cover each scenario. For example, the Lending decisions suite of the Loan Application Scorecard groups its test cases into positive, edge, and negative cases: This is the fastest way to get test coverage for the main paths through your Blueprint.

Create Empty

Click Create Empty to start with a blank test suite, then add test cases manually using the Add Test button. This is useful when you want to test very specific scenarios or edge cases.

Running tests

Run all tests

While Live mode is on, Leapter runs your tests automatically after every change, and the run buttons are turned off (Tests run automatically while Live mode is on.). When you pause Live mode, the tests show Not Run until you run them by hand. Click Run All to execute every test case in the suite. The results appear immediately:
The Tests panel for the Loan Application Scorecard with the Lending decisions suite: Add Test, Run All (turned off while Live mode runs), the filter set to All, and 6 tests with 6 passed at 100%. Below, the test cases grouped into Positive, Edge, and Negative, each marked Passed.

The Lending decisions suite while Live mode runs: all six tests passed.

Below the buttons, the suite shows how many tests it has, how many passed and failed, and the share of passed tests as a percentage.

Run individual tests

Each test case has its own Run button, so you can re-run a single test without running the entire suite.

Understanding test results

Each test case shows one of four statuses:

Investigating failures

When a test fails, it expands to show the Output Mismatch: a table comparing the expected and actual values for each output field that differs. For example, if the threshold for an approval changes, the “Approve boundary at 65 points” test might show: This tells you exactly which output value was wrong and by how much, helping you pinpoint the issue in your logic. To see where the logic went a different way than you expected, hover over the test and click Trace. The canvas shows the run of this test, and you can step through it with the trace controls.

Managing test suites

Adding tests

Click Add Test in the test suite header to add a new test case manually. You define the input values and the expected output values.

Testing for errors

A test case can expect an error instead of outputs, for example that an application without an income is rejected with InvalidApplication. In the test case, set the Expected Error: choose the Error type, and optionally the Expected error fields. The test passes only when the Blueprint raises exactly that error.

Adding tests with AI

Click the Auto-Generate (sparkles) button next to “Add Test” to have the Lab Agent suggest additional test cases based on your Blueprint’s logic. This is useful for improving coverage after you’ve already created a suite.

Adding tests from production runs

Real cases from production make good regression tests. In Impact Analysis, open a changed case and click Keep as test case. Leapter prefills a new test case with the run’s inputs and the tested version’s output parameters, and adds it to the test suite the dialog names.

Filtering tests

Use the Filter dropdown to show only specific test statuses:
  • All: shows every test
  • Passed: shows only passing tests
  • Failed: shows failing tests and tests with the status Error
  • Not Run: shows tests that haven’t been executed

What to do next