- JUnit 4 framework and tools provided by Google
Local Unit Tests
- These tests are compiled to run locally on the Java Virtual Machine (JVM) to minimize execution time. Use this approach to run unit tests that have no dependencies on the Android framework.
Instrumented Tests
- runs on an Android device or emulator.
- can be used for unit, user interface (UI), or app component integration testing.
- Building Instrumented Unit Tests:
- Automating User Interface Tests:
- Testing UI for a Single App
- Testing UI for Multiple Apps
- Testing App Component Integrations: Verify components such as Service, Content Provider
Espresso: UI testing frameworks, allows you to programmatically simulate user actions and test complex intra-app user interactions.
- can run on devices running Android 2.2 (API level 8) and higher.
Mockito:
No comments:
Post a Comment