Run a Single Test
Execute a test by name or ID:- Resolve the test name (from aliases or API)
- Queue the test for execution
- Stream progress to your terminal
- 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:--no-build to run without rebuilding:
Example Output
Workflow Options
Same astest run, plus:
Full Pipeline: Build → Upload → Test
Use the--build flag with revyl test run to run the complete pipeline:
- Build - Run your build command
- Upload - Upload the artifact to Revyl
- 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:- Build - Run your build command
- Upload - Upload the artifact to Revyl
- Workflow - Run all tests in the workflow against the new build
--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: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:Background Execution
Queue a test without waiting for results:Common Workflows
Quick Smoke Test
Test New Changes
CI/CD Pipeline
Local Development Loop
Troubleshooting
Cancelling a Running Test
Userevyl test cancel or revyl workflow cancel to stop a running test or workflow:
- 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-runto see what would be uploaded
”Test not found” Error
- Run
revyl test listto see available tests - Check spelling and case sensitivity
- Ensure the test exists in your
config.yamlaliases or on remote