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.

Arguments
ArgumentDescription
[run]run id, #number, or "latest"
Options
OptionDescription
--repo <owner/repo>limit the run search to one repository; required with --flaky
--flakylist the repository’s tests that passed and failed at the same commit
--alllist every test, not only the failures
--jsonprint the results as JSON

Examples

A run's failing tests.

apex tests 4812

Tests that passed and failed at the same commit.

apex tests --flaky --repo acme/web