Espresso
Google's native Android UI testing framework. Fast, stable, Android-only.
What it is
Espresso runs in the same process as the app under test and synchronises with the UI thread automatically, making it the fastest and least flaky way to test an Android UI. It is part of Android Jetpack, integrates with Android Studio's recorder, and is the framework Google's own apps use.
Best for
Where it is strong
- Automatic UI-thread synchronisation makes tests both fast and reliable.
- First-party Google support, updated alongside Android itself.
- Runs on emulators in CI cheaply, including Firebase Test Lab.
Where it falls short
- Android only.
- Testing across app boundaries requires UiAutomator alongside it.
- Compose testing uses a related but separate API to learn.
Pricing
Free and open source
Open sourceFree tier: Everything, self-hosted
What drives the bill: Free and open source. You pay in engineering time and CI minutes.
Check current pricing on Google’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
Works with
What people who use Espresso say
No reviews of Espresso yet. If you have used it in anger, yours would be the first.
Alternatives to Espresso
If Espresso is not the right fit, these solve the same problem differently.
Appium
Mobile Testing
The cross-platform standard for native, hybrid and mobile-web automation.
Maestro
Mobile Testing
Mobile UI testing in a few lines of YAML, with tolerance for flakiness built in.
XCUITest
Mobile Testing
Apple's native UI testing framework, built into Xcode.