PATDroid: Permission-Aware GUI Testing of Android

43Citations
Citations of this article
38Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Recent introduction of a dynamic permission system in Android, allowing the users to grant and revoke permissions after the installation of an app, has made it harder to properly test apps. Since an app’s behavior may change depending on the granted permissions, it needs to be tested under a wide range of permission combinations. At the state-of-the-art, in the absence of any automated tool support, a developer needs to either manually determine the interaction of tests and app permissions, or exhaustively re-execute tests for all possible permission combinations, thereby increasing the time and resources required to test apps. This paper presents an automated approach, called PATDroid, for efficiently testing an Android app while taking the impact of permissions on its behavior into account. PATDroid performs a hybrid program analysis on both an app under test and its test suite to determine which tests should be executed on what permission combinations. Our experimental results show that PATDroid significantly reduces the testing effort, yet achieves comparable code coverage and fault detection capability as exhaustively testing an app under all permission combinations.

Cite

CITATION STYLE

APA

Sadeghi, A., Jabbarvand, R., & Malek, S. (2017). PATDroid: Permission-Aware GUI Testing of Android. In Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering (Vol. 2017-January, pp. 220–232). Association for Computing Machinery. https://doi.org/10.1145/3106237.3106250

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free