Reuse of model-based tests in mobile apps
Guilherme de Cleva Farto, André Takeshi Endo · 2017
Mobile apps have been introduced in our lives and as a specific class of software, developers and testers have to deal with new challenges. For instance, testing all configurations and characteristics of apps might be an expensive activity. It would be desirable to maximize the return of investment for systematic and automated test cases. This paper proposes an approach for mobile apps in which test models are reused to (i) reduce the effort for concretization and (ii) test other characteristics of apps, such as device-specific events, unpredictable users' interaction, telephony events for GSM/SMS, and sensors and hardware events. We assume that a model-based testing approach was applied to GUI testing of Android apps. Specifically, test models are designed using Event Sequence Graphs (ESGs) and concrete adapters developed using Java and automated testing frameworks. We evaluated the approach and its supporting tool with three Android apps in an industrial setting.