Chapter 4. Integration Testing
This chapter continues our discussion about Android application testing. Chapter 3, Unit Testing was dedicated to unit testing, but this one is about integration testing. We have categorized integration testing into instrumentation testing and Graphical User Interface (GUI) testing. This classification might not be very clear to you; so let us explain the reasoning behind this decision.
Both these types of testing require the presence of an emulator or a real Android device. Instrumentation testing mostly focuses on verifying the interaction between activities and intents, while GUI testing ensures that the user interface (UI) components have the expected behavior. This statement does not exclude instrumentation testing from verifying UI components or vice versa. In the following sections, we will cover two tools of each category and the corresponding Maven plugins that let us automate their execution and their reporting capabilities.
Like we already...