Skip to main content

Run a Single Test

Execute a test by name or ID:
The CLI will:
  1. Resolve the test name (from aliases or API)
  2. Queue the test for execution
  3. Stream progress to your terminal
  4. Report the final result

Example Output

Run Options

Run a Workflow

Execute a workflow (multiple tests). The recommended way to build and run a workflow in one command:
This builds your app, uploads it, then runs all tests in the workflow. Use --no-build to run without rebuilding:
You can also use the explicit workflow command:

Example Output

Workflow Options

Same as test run, plus:

Full Pipeline: Build → Upload → Test

Use the --build flag with revyl test run to run the complete pipeline:
This executes:
  1. Build - Run your build command
  2. Upload - Upload the artifact to Revyl
  3. Test - Run the test against the new build

Pipeline Options

Example

The CLI validates that the test exists before starting the build process. If you specify a test name that doesn’t exist, you’ll get an immediate error with a list of available tests.

Full Pipeline: Build → Upload → Workflow

The recommended way to build and run a workflow in one command:
This executes:
  1. Build - Run your build command
  2. Upload - Upload the artifact to Revyl
  3. Workflow - Run all tests in the workflow against the new build
Use --no-build to run the workflow without rebuilding (e.g. revyl run smoke-tests -w --no-build).

Workflow pipeline options (with revyl run <name> -w)

Alternative: revyl workflow run

You can also use revyl workflow run with the --build flag:

Build and Upload Only

Upload a build without running tests:

Upload Options

Example Output

Default debug builds from every framework satisfy Revyl’s artifact rules. For release builds, .ipa archives, or narrowed abiFilters, see Build Artifact Requirements.

List Builds

View uploaded build versions:
Options:

Exit Codes

The CLI uses standard exit codes for scripting:

CI/CD Example

JSON Output

For programmatic use, get structured JSON output:

Open Results in Browser

Automatically open the report when a test completes:
Or open a previous report:

Background Execution

Queue a test without waiting for results:
Output:

Common Workflows

Quick Smoke Test

Test New Changes

CI/CD Pipeline

Local Development Loop

Troubleshooting

Cancelling a Running Test

Use revyl test cancel or revyl workflow cancel to stop a running test or workflow:
Where to find the task ID:
  • CLI output when starting a test: Task ID: abc123-def456...
  • Report URL: https://app.revyl.ai/tests/report?taskId=abc123...
If the test has already completed, failed, or been cancelled, the command will return an error with the current status.
Pressing Ctrl+C only stops the CLI from monitoring - the test continues running on the server. Use revyl test cancel <task_id> to actually stop the test.

Test Times Out

  • Increase timeout: --timeout 900
  • Check device availability in Revyl dashboard
  • Verify the test runs manually in the web UI

Build Upload Fails

  • Check your build command produces output at the expected path
  • Verify file permissions on the artifact
  • Try --dry-run to see what would be uploaded

”Test not found” Error

  • Run revyl test list to see available tests
  • Check spelling and case sensitivity
  • Ensure the test exists in your config.yaml aliases or on remote