Run a group of tests
SetPROJECT_ID and the two test IDs to values from project list and test list. The create command prints the ID to use for LIST_ID.
--project-env <project-id>:<name> on testlist create or testlist update to save bindings. Updating the bindings replaces the set, so include each mapping you want to keep. The list launch uses these bindings and rejects --env. A saved loopback address opens a tunnel automatically. List launches default to a 600-second deadline. Server concurrency defaults to 10 (1–50), or 5 through a tunnel (1–10).
testlist get "$LIST_ID" lists the members and can include lastRunId. A launch can return several run receipts. Use a receipt’s runId with result list --run and an individual resultId with result get.
If only some requested IDs belong to the list, the JSON field notFound lists the others. The CLI exits 4 for this partial match. With --wait, it polls the matched cases first, so a failure or timeout takes precedence. If every case conflicts, for example because every case is already running, the CLI can exit 6. If the rate limit defers any cases, it can exit 7. Both codes also apply without --wait.
Run on a schedule
--timezone to use another time zone. Schedules start enabled and spend credits when they run. The CLI shows the estimated cost when the server supplies it. A plan without scheduling returns exit 13.
For a whole project, use --target-type project --target-id "$PROJECT_ID". A project schedule follows the current default environment unless pinned with --env staging. A test-list schedule uses the list’s bindings and rejects --env.
Pause, change, or check a schedule
schedule list identifies a pinned project environment by name or shows project default (inherits). View execution history in the Portal. A schedule targeting a loopback environment cannot reach your machine. The run is recorded as blocked with failureKind: network and incurs no charge. Start a local frontend run with testsprite run --project "$PROJECT_ID" --env local-dev while your app is listening.
See Test Lists and Test Schedules for the Portal views.