The Tests view lets Creators create, run, and review test cases for the current module. Test cases define an expected input and output so Creators can verify module behavior before publishing. To open the view, select Tests from the Definition drop-down. Tests is available only when AI is enabled in the environment.
![[docs-interactive-image:{"surface":"module-builder/definition-dropdown","hotspotStyle":"pulse","anchors":{"Tests":"module-tests"},"hide":["Definition","Transforms","Translations","History"]}] The Module Builder toolbar with the Definition drop-down open, listing Definition, Tests, Transforms, Translations, and History](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/api_upload_20261119_195137_c16aa1a10f0a444b8bd212707f3f221f.png?sv=2026-02-06&spr=https&st=2026-11-23T09%3A05%3A00Z&se=2026-11-23T09%3A18%3A00Z&sr=b&sp=r&sig=l0jx6KrYiSDC1F7jNBqLzkPWTdlq4SsIW%2FVWNiwn5wc%3D)
Module Tests
The Tests view has three areas: a toolbar at the top, the list of tests at the left, and the selected test at the right. Select a test in the list to display its description and run history.
![[docs-interactive-image:{"surface":"module-builder/tests-view","anchors":{"Search":"test-list","Status Filter":"test-list","Create Test":"creating-a-test"}}] The Module Builder Tests view with the Search Tests field, status filter, Run All and Create Test buttons, a list of three tests, and the selected test with its description and Test History table](https://cdn.us.document360.io/15548f06-2fba-434c-b0c1-5df88317dbd7/Images/Documentation/api_upload_20261119_195137_2f6b03bc729b4bde842e5acac3bb84e0.png?sv=2026-02-06&spr=https&st=2026-11-23T09%3A05%3A00Z&se=2026-11-23T09%3A18%3A00Z&sr=b&sp=r&sig=YZ%2FiAMpYGswN0PGwhc7mamYi0xqRW3PW1tmvZLBA6oA%3D)
| Control | Description |
|---|---|
| Search | Filters the list by test name or description. Unavailable when the module has no tests. |
| Status Filter | Opens a menu with Active and Inactive check boxes that narrow the list. Unavailable when the module has no tests. |
| Run All | Asks the Build Agent to run every active test in the list. Unavailable when the list has no active tests. |
| Create Test | Opens the Create Test dialog. |
| Test List | Lists the module's tests, with the latest result for each. |
| Test Detail | Displays the selected test and its run history. |
The Build Agent runs the tests. When a run finishes, its result displays in the Test History table for that test.
Creating a Test
To create a test:
-
Select Create Test in the toolbar. The Create Test dialog opens.
-
In the Test Scenario field, describe what the test must check. Include the inputs and the expected outputs. For example, "When the price input is 100 and quantity is 2, the total output should be 200."
-
Select Create Test. The platform sends the scenario to the Build Agent, which creates the test, runs it, and reports the result.
Select Cancel to close the dialog without creating a test.
Test List
The test list displays one row for each test. A row displays a status icon, the test name, and a one-line description. Select a row to open that test at the right.
Hover over a status icon to display the latest result and when it ran. The status icon uses the following values.
| Icon | Description |
|---|---|
| Check mark | The latest run passed. |
| Alert | The latest run failed. |
| Spinner | The test is running. |
| Empty circle | The test has never run. |
Searching and Filtering
Use Search to narrow the list by test name or description. When no test matches, the list displays "No tests match your search."
Select Status Filter to open a menu with the following check boxes.
| Check Box | Description |
|---|---|
| Active | When checked, this setting displays active tests. |
| Inactive | When checked, this setting displays inactive tests. |
When both check boxes are cleared or both are checked, the list displays every test. A count on the filter button displays how many check boxes are checked.
Test Detail
The detail area displays the name of the selected test at the top left and the following controls at the top right.
| Control | Description |
|---|---|
| Active switch | Turns the test on or off. Run All skips inactive tests. |
| Asks the Build Agent to run this test. | |
| Opens the Delete Test Case dialog. Select Delete to remove the test permanently, or Cancel to keep it. This action cannot be undone. |
Below the header, the area displays the test description. When a test has no description, the area displays "No description."
When the module has no tests, the area displays "No tests yet, create one to get started."
Test History
The Test History table lists every run of the selected test, newest first. The table has the following elements.
| Element | Description |
|---|---|
| Date & Time | The date and time of the run, with a check mark for a passed run or an alert icon for a failed run. |
| Execution Time | How long the run took, in milliseconds (ms). Displays a dash when the platform did not record a time. |
| View Details | Expands the row to display an Agent Summary card that describes the result. Select Hide Details to collapse the card. |
When a test has no runs, the table says so. Run the test to add a row.
Changelog
| Date | Change |
|---|---|
| 2026-11-19 | Removed the outdated Tests screenshot from the introduction. |
| 2026-11-19 | Rewrote Module Tests, the test list, test detail, and Test History for the 9.2 Tests view. Removed the Tests and Logs tabs, the configuration check boxes, and the and Expected sections, which are not in 9.2. Added Creating a Test and a Tests view interactive image. |
| 2026-11-19 | Added the Definition drop-down interactive image to show where to open Tests. |
| 2026-11-19 | Corrected the Transforms link in See Also. |
| 2026-05-27 | Initial publication. |