Tests
Test results ingested from a task's JUnit report, failing tests first.
List test results
Test results, failing first.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Required | The job's ID. |
cursor | string | Optional | |
limit | string | Optional | |
shard | string | Optional | |
status | string | Optional | |
task | string | Optional |
Response
failed_totalnext_cursorteststests[].duration_mstests[].filetests[].linetests[].message- first 5 lines
tests[].nametests[].shardtests[].stack- the first 20 frames of the failure, one per entry
tests[].started_at- when the test started, where the runner's report says (nextest's testcase
timestamp); withduration_msthe run's timeline. absent from other runners and on rows ingested before it tests[].status- One of
passed,failed,skipped,flaky tests[].stderr_tail- only in
detailed tests[].stdout_tail- only in
detailed tests[].suite- the class, package or file the runner grouped the test under; absent on rows ingested before P5
tests[].tasktests[].truncated- a message, stack or tail was cut at the ingestion bounds
total
curl "$CIRESK_API/v1/ci/jobs/job_0109badfc220cd056b2c0e862ac73d40/tests" \
-H "Authorization: Bearer $CIRESK_KEY"