Reference
apex tests
Show a run’s test results, or a repository’s unreliable tests with --flaky
apex tests [options] [run]With an API token, needs the permission actions:read.
| Argument | Description |
|---|---|
[run] | run id, #number, or "latest" |
| Option | Description |
|---|---|
--repo <owner/repo> | limit the run search to one repository; required with --flaky |
--flaky | list the repository’s tests that passed and failed at the same commit |
--all | list every test, not only the failures |
--json | print the results as JSON |
Examples
A run's failing tests.
apex tests 4812Tests that passed and failed at the same commit.
apex tests --flaky --repo acme/web