Additional Resources for Espresso
Stay organized with collections
Save and categorize content based on your preferences.
This page contains resources for learning more about using Espresso in Android
tests.
Samples
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# Additional Resources for Espresso\n\nThis page contains resources for learning more about using Espresso in Android\ntests.\n\nSamples\n-------\n\n- [IntentsBasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IntentsBasicSample): Basic usage of `intended()` and `intending()`.\n- [IdlingResourceSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IdlingResourceSample): Synchronization with background jobs.\n- [BasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/BasicSample): Basic Espresso sample.\n- [CustomMatcherSample](https://github.com/android/testing-samples/tree/main/ui/espresso/CustomMatcherSample): Shows how to extend Espresso to match the hint property of an `EditText` object.\n- [DataAdapterSample](https://github.com/android/testing-samples/tree/main/ui/espresso/DataAdapterSample): Showcases the onData() entry point for Espresso, for lists and `AdapterView` objects.\n- [IntentsAdvancedSample](https://github.com/android/testing-samples/tree/main/ui/espresso/IntentsAdvancedSample): Simulates a user fetching a bitmap using the camera.\n- [MultiWindowSample](https://github.com/android/testing-samples/tree/main/ui/espresso/MultiWindowSample): Shows how to point Espresso to different windows.\n- [RecyclerViewSample](https://github.com/android/testing-samples/tree/main/ui/espresso/RecyclerViewSample): `RecyclerView` actions for Espresso.\n- [WebBasicSample](https://github.com/android/testing-samples/tree/main/ui/espresso/WebBasicSample): Use Espresso-Web to interact with `WebView` objects.\n- [BasicSampleBundled](https://github.com/android/testing-samples/tree/main/ui/espresso/BasicSampleBundled): Basic sample for Eclipse and other IDEs."]]