Test Status
The status property indicates the final outcome of a test case. It is a required field on every Test Object and must be one of five allowed values.
Status Values
| Status | Description |
|---|---|
passed | The test successfully met all assertions and criteria. |
failed | The test did not meet the expected criteria-an assertion failed or an error occurred. |
skipped | The test was intentionally not executed, typically due to a skip annotation or conditional logic. |
pending | The test is defined but not yet implemented, or is awaiting some condition to be fulfilled before execution. |
other | A catch-all status for outcomes that cannot be mapped to the predefined statuses. Use this for tool-specific statuses that don't fit the standard values. |
Usage Notes
- The
statusfield represents the final outcome of the test, not intermediate states - For tests with retries, the
statusreflects the outcome of the last attempt - The original tool-specific status can be preserved in the
rawStatusfield if normalization occurred - Steps within a test also use the same status values