Skip to main content

Test

The test object allows you to query information about a particular test.

Arguments

When querying for a test, the following arguments are available. Note that if you do not include a runId, it will default to the most recent run of the specified job:

Fetching data...

Below we show some illustrative example queries and outline the schema (all possible fields you can query) of this test object.

Example Queries

Test result

The example query below outputs information about a test, including the state of the test result. This can be one of, in order of severity, "error", "fail", "warn", "pass."

{
test(jobId: 123, uniqueId: "test.internal_analytics.not_null_metrics_id") {
runId
accountId
projectId
uniqueId
name
columnName
state
}
}

Fields

When querying for a test, the following fields are available:

Fetching data...

0