其他 Espresso 相關資源
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁提供多項資源,協助您進一步瞭解如何在 Android 測試中使用 Espresso。
範例
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],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."]]