TY - GEN
T1 - Generating various contexts from permissions for testing Android applications
AU - Song, Kwangsik
AU - Han, Ah Rim
AU - Jeong, Sehun
AU - Cha, Sungdeok
N1 - Funding Information:
This research was supported by Basic Science Research Program through the National Research Foundation of Korea(NRF) funded by the Ministry of Education(NRF-2014R1A1A2054098). This research was supported by the MSIP(Ministry of Science, ICT and Future Planning), Korea, under the ITRC(Information Technology Research Center) support program (IITP-2015-H8501-15-1012) supervised by the IITP(Institute for Information & communications Technology Promotion).
Publisher Copyright:
Copyright © 2015 by KSI Research Inc. and Knowledge Systems Institute Graduate School.
PY - 2015
Y1 - 2015
N2 - Context-awareness of mobile applications yields several issues for testing, since the mobile applications should be testable in any environment and with any contextual input. In previous studies of testing for Android applications as eventdriven systems, many researchers have focused on using the generated test cases considering only GUI events. However, it is difficult to detect failures in the changes in the context in which applications run. It is important to consider various contexts since the mobile applications adapt and use novel features and sensors of mobile devices. In this paper, we provide the method of systematically generating various executing contexts from permissions. By referring the lists of permissions, the resources that the applications use for running Android applications can be inferred easily. The various contexts of an application can be generated by permuting resource conditions, and the permutations of the contexts are prioritized. We have evaluated the usefulness and effectiveness of our method by showing that our method contributes to detect faults.
AB - Context-awareness of mobile applications yields several issues for testing, since the mobile applications should be testable in any environment and with any contextual input. In previous studies of testing for Android applications as eventdriven systems, many researchers have focused on using the generated test cases considering only GUI events. However, it is difficult to detect failures in the changes in the context in which applications run. It is important to consider various contexts since the mobile applications adapt and use novel features and sensors of mobile devices. In this paper, we provide the method of systematically generating various executing contexts from permissions. By referring the lists of permissions, the resources that the applications use for running Android applications can be inferred easily. The various contexts of an application can be generated by permuting resource conditions, and the permutations of the contexts are prioritized. We have evaluated the usefulness and effectiveness of our method by showing that our method contributes to detect faults.
KW - Android application testing
KW - Context-aware application
KW - Mobile application testing
KW - Permissions
KW - Various contexts
UR - http://www.scopus.com/inward/record.url?scp=84969790511&partnerID=8YFLogxK
U2 - 10.18293/SEKE2015-118
DO - 10.18293/SEKE2015-118
M3 - Conference contribution
AN - SCOPUS:84969790511
T3 - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
SP - 87
EP - 92
BT - Proceedings - SEKE 2015
PB - Knowledge Systems Institute Graduate School
T2 - 27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015
Y2 - 6 July 2015 through 8 July 2015
ER -