Eclipse SWTBot vs Espresso
Eclipse SWTBot
projects.eclipse.orgEspresso
developer.android.comSide by side
| Figure | Eclipse SWTBot | Espresso |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | — | Yes |
| Android | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Automated Testing | 6.1 (#30) | 8.8 (#4) |
Plans
In their own words
Eclipse SWTBot
Eclipse SWTBot has no write-up on Specifiction yet; its figures are above.
Espresso
Espresso is a free, open-source framework for writing automated user-interface tests for Android apps. Before a test acts or checks a screen, it waits for the app’s message queue, AsyncTask work and developer-defined idling resources to become idle. Its packages cover core testing, WebView components, idling resources, intents and other testing support. Espresso-Web tests Android WebViews, while Espresso-Intents can validate and stub app intents. Multiprocess Espresso supports interactions across processes within an app, but it requires Android 8.0/API 26 or later and does not test external processes. Tests run in Android Studio or from the command line with Gradle; installation uses the SDK Manager and Gradle, and Android Studio is recommended. The framework supports Android 4.0.1/API 14 or higher. Test Recorder can capture device interactions and assertions to generate a UI test, while AccessibilityChecks can evaluate views during actions. The listed stable release and core dependency are version 3.7.0. Espresso is Apache-2.0 licensed.