A formal approach to automatically analyse extra-functional properties in mobile applications

TitleA formal approach to automatically analyse extra-functional properties in mobile applications
Publication TypeJournal Article
Year of Publication2019
AuthorsEspada ARosario, Gallardo M-del-M, Salmeron A, Panizo L, Merino P
JournalSoftware Testing, Verification and Reliability
Paginatione1699
Keywordsanalysis of traces, android, extra-functional properties, model-based testing, verification
Abstract

Summary This paper presents an integrated approach for testing mobile applications (apps) against a set of extra-functional properties to be used by app developers. The approach starts with the (manual or automatic) extraction of the interaction model, that is, a formal model of the potential user interactions with the app. The model is constructed to allow a model checking tool to exhaustively extract the so-called app user flows, that is, the sequences of user actions, that constitute the test cases. In the final step, the app user flows are executed on the app running on real devices. The resulting execution traces are enriched with different measures and verified against a set of extra-functional properties of interest. The approach has been adapted to analyse several applications running at the same time with several devices supporting the applications. This paper presents the definition and formalization of both the modelling language for the interaction model and the specification language to represent the extra-functional properties. It also describes a methodology for automatically extracting the model. Finally, it presents an implementation focused on Android apps, which is integrated in the TRIANGLE testing framework, and the evaluation of the approach. © 2019 The Authors. Software Testing, Verification & Reliability Published by John Wiley & Sons Ltd.

URLhttps://onlinelibrary.wiley.com/doi/abs/10.1002/stvr.1699
DOI10.1002/stvr.1699