Your Espresso suite, on real Android phones
Upload the app and its androidTest APK, name the devices, and run the instrumentation tests you already have — with a video, device log and output for every test.
Android only · free device-minutes to start · no credit card required
{
"app": "farm://app-3f9c01",
"testSuite": "farm://suite-81ad02",
"devices": ["Pixel 8-17", "Galaxy S25-16"],
"class": ["com.acme.LoginTest"]
}
From Gradle to a real phone in four calls
The same two files you build for connectedAndroidTest, run on hardware you don't have to buy.
- 1
Build
Gradle's assembleDebug and assembleDebugAndroidTest give you the two APKs. No SDK, no changes to your tests.
- 2
Upload
Send both APKs with your access key. Big APKs can go straight to storage, which suits CI.
- 3
Run
Start one build that names the devices. Each device gets its own session, and they run in parallel.
- 4
Read
Poll the build until it finishes. Every test has its own result, video and logs.
The tests you wrote, on hardware you don't own
No SDK in your app and no rewrite. Two APKs and one API call to start.
Real phones or emulators
Pick real Android hardware, or mark a device virtual to run on an emulator.
Up to 20 devices per build
One session per device, in parallel up to the threads your plan includes.
Run part of the suite
Filter by class, package, annotation or test size.
Every test on its own
Result, video, device log and output per test, plus a crash dump when the app crashes.
Steps you can read
Each Espresso action shows up in All Commands, the same tab an Appium run uses.
Skipped is not failed
@Ignore and failed assumptions are shown as skipped and never fail a device.
A red test you can explain
When a test fails on one phone and passes on another, you need to see what that phone did. Every test gets its own video clip, device log and stack trace, and a crash dump is kept if the app crashes.
- Per test, not per run. Open the clip of the one test that failed instead of scrubbing a long recording.
- Every Espresso action listed. Clicks, typing and checks appear in the All Commands tab, the same tab an Appium run uses.
- Honest results. A filter that matches no test is an error, never a pass. A misspelt class name can't turn a build green.
Skipped tests never fail a device. Only a failed test does.
# 1. upload the app
curl -F [email protected] …/espresso/v1/app
# 2. upload the tests
curl -F [email protected] …/espresso/v1/test-suite
# 3. start the build
curl -d '{"app":…,"testSuite":…,"devices":[…]}' …/espresso/v1/build
# 4. wait for the result
curl …/espresso/v1/builds/$BUILD_ID # status: passed
Fits in one CI step
Plain HTTP calls with your access key. No plugin to install and no agent to run, so it works in GitHub Actions, GitLab, Jenkins, Bitrise or a shell script.
- Same key as Appium. One access key for every Automate API.
- Gate on one field. The build is passed only when every device passed.
- Run what changed. Filter by class, package, annotation or test size.
- Stop safely. Cancel a build from a cleanup step; a finished result is never rewritten.
Frequently asked questions
No. You build the same two APKs Gradle already gives you — the app and its androidTest APK — and upload them. Your tests run with the instrumentation runner they declare, on the device, as they would from Android Studio.
Through the Espresso API, with the same access key you use for Appium. Upload the app, upload the test suite, then start a build that names both and lists the devices to run on. You get a build id back, and the build's status and per-device results from it. The Espresso guide in our docs walks through each call.
Up to 20. Each device gets its own session running the suite, and the devices run in parallel up to the threads your plan includes. Name a device by model and Android version, and mark it virtual if you want an emulator rather than a real phone.
Yes. Filter by class, package, annotation, a not-annotation, or test size (small, medium or large).
Every test is listed on its own with its result, its own video, the device log, the test's output, and a crash dump if the app crashed. The Espresso actions a test performed show up as steps in the session's All Commands tab, like an Appium run's commands.
No. A test the runner skipped — an @Ignore, or a failed assumption — is shown as skipped and never fails the device. Only a failed test does.
Yes, on real iPhones and iPads, through the XCUITest API: upload your .ipa and your zipped UI-test Runner, then start a build. It works much like Espresso, with iOS limits of its own — your app is re-signed with our development certificate, and there are no simulators.
Read the guide: XCUITest suites on real iPhones and iPads →Sharding a suite across devices, Android Test Orchestrator, network logs, Local Tunnel, biometric and camera-image injection, and uploading a build by URL. Android App Bundles (.aab) are not accepted — upload built APKs.
Espresso 3.6.1 calls an internal Android method that Android 17 removed, so every test that touches a view fails there while the same suite passes on Android 16 and older. The failure is inside Espresso, not in your tests or the device. Move to an Espresso / androidx.test release that supports Android 17, or leave Android 17 devices out of the build until you upgrade.
Your runs land in the same sessions list as Appium runs. The test-suite APKs themselves are managed through the API and do not appear on the Apps page; the app you test does.
Each run starts on a cleaned device: we remove the previous user's apps and data and reset settings between sessions.
Run your androidTest APK on a real phone
Upload two APKs and start a build from your terminal or CI.