List test results for a job

## Usage

`circleci testresult list <job-id> [flags]`

Aliases: `circleci testresult ls`

## Arguments

`<job-id>` is the UUID of the job whose test results to list. Job
UUIDs are shown in `circleci job get` and `circleci run get --json`.

## Flags

| Flag                   | Description                                                                                                                                                                                                       |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--all`                | Show all results (passing, failed and skipped), not just failures                                                                                                                                                 |
| `--filter stringArray` | Filter by key=value; repeatable. Keys: result (success\|failure\|skipped, exact), name and classname (case-insensitive substring). Same key repeated is OR, different keys AND. Cannot combine result= with --all |
| `--jq string`          | Process values from the response using jq syntax (see `circleci help formatting`)                                                                                                                                 |
| `--json`               | Output as JSON                                                                                                                                                                                                    |
| `--limit int`          | Maximum number of results to show (0 = no limit)                                                                                                                                                                  |
| `--sort string`        | Sort by name, classname, result or run_time                                                                                                                                                                       |

Global flags: `-c, --config`, `--debug`, `--no-color`, `-q, --quiet` — see `circleci --help`.

## Examples

- List failed tests for a job (the default): 
  `circleci testresult list 8e50c384-0083-43d0-bc8f-93f0db589d6b`
- Show every result: passing, failed and skipped: 
  `circleci testresult list <job-id> --all`
- Show skipped tests instead: 
  `circleci testresult list <job-id> --filter result=skipped`
- Failed tests in one suite, slowest last: 
  `circleci testresult list <job-id> --filter classname=api --sort run_time`
- Count failed tests by aggregating the JSONL stream with jq: 
  `circleci testresult list <job-id> --json --jq '[.,inputs] | length'`

## Details

Show the test results recorded for a CircleCI job. Only failed tests are
shown unless --all or a result= filter selects otherwise.

JSON fields: classname, name, result, run_time, message — emitted as one
object per line (JSONL), so --jq runs once per record. See
`circleci help formatting` for aggregating across the stream.

