Test commands require a workspace ID, either from your profile or via the
-w flag.Unit Tests
Unit tests validate individual functions and logic blocks.List Unit Tests
Terminal
Terminal
Run a Unit Test
Terminal
Run All Unit Tests
Terminal
Terminal
Workflow Tests
Workflow tests validate end-to-end backend logic by running test suites.List Tests
Terminal
-b:
Terminal
-o json for the full JSON response.
Get Test Details
Terminal
| Flag | Description |
|---|---|
--include-draft | Include the draft version of the test |
-o | Output format: summary, json, or xs (XanoScript source) |
Run a Test
Terminal
Run All Tests
Run every workflow test in the workspace:Terminal
-b:
Terminal
Delete a Test
Terminal
-f to skip the confirmation prompt.