The Android Testing Support Library provides an extensive framework for testing Android apps. This library provides a set of APIs that allow you to quickly build and run test code for your apps, including JUnit 4 and functional user interface (UI) tests. You can run tests created using these APIs from the Android Studio IDE or from the command line.
Android测试支持库包括以下测试自动化工具:
- AndroidJUnitRunner: JUnit 4-compatible test runner for Android
- Espresso:UI测试框架;适合在应用程序内的功能UI测试
- UI Automator: UI测试框架;适用于跨系统和已安装应用程序的跨应用功能UI测试