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測試支持庫包括以下測試自動(dòng)化工具:
- AndroidJUnitRunner: JUnit 4-compatible test runner for Android
- Espresso:UI測試框架;適合在應(yīng)用程序內(nèi)的功能UI測試
- UI Automator: UI測試框架;適用于跨系統(tǒng)和已安裝應(yīng)用程序的跨應(yīng)用功能UI測試