adb_farm_run
Uploads an APK and test APK to Firebase Test Lab, then executes instrumented tests on specified devices and API levels.
Instructions
Run tests on Firebase Test Lab. Uploads an APK and test APK, executes instrumented tests across specified device models and API levels. Requires gcloud CLI authenticated with a Firebase project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appApk | Yes | Path to the app APK file | |
| testApk | Yes | Path to the test/instrumentation APK file | |
| devices | No | Device specs as 'model=DEVICE,version=API' (e.g., 'model=bluejay,version=33'). Omit for default device. | |
| testTargets | No | Specific test class or method (e.g., 'class com.example.MyTest') | |
| timeout | No | Test timeout (e.g., '300s', '10m') | 300s |
| resultsBucket | No | GCS bucket for results (omit for default) |