Test results - Status
No Python support
We have not implemented this SDK function in Python yet. We intend to fill this gap shortly.
The function getTestResultStatus()
retrieves the status of a test result.
Arguments
resultId
The unique identifier for the test result as a UUID string.
Return value
statusInfo
This endpoint returns a TestResultStatus
object for the provided test result.
Types
🛠️ TestResultStatus
The TestResultStatus
interface represents the structure of the response for the status of test results. Below are the
properties outlined with their types:
total
The total number of test runs associated with the test result.
pending
The number of test runs that are pending evaluation.
failure
The number of test runs that have failed.
done
The number of test runs that have completed.
Example
typescript
import {init ,getTestResultStatus } from "@gentrace/core";consttestResultStatus = awaitgetTestResultStatus ("FACB6642-4725-4FAE-9323-634E72533C89");console .log ("Total:",testResultStatus .total );console .log ("Pending:",testResultStatus .pending );console .log ("Failure:",testResultStatus .failure );console .log ("Done:",testResultStatus .done );