Generating various contexts from permissions for testing Android applications

Kwangsik Song, Ah Rim Han, Sehun Jeong, Sungdeok Cha

Research output: Chapter in Book/Report/Conference proceedingConference contribution

5 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
PublisherKnowledge Systems Institute Graduate School
Pages87-92
Number of pages6
Volume2015-January
ISBN (Print)1891706373
DOIs
Publication statusPublished - 2015
Event27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015 - Pittsburgh, United States
Duration: 2015 Jul 62015 Jul 8

Other

Other27th International Conference on Software Engineering and Knowledge Engineering, SEKE 2015
CountryUnited States
CityPittsburgh
Period15/7/615/7/8

Keywords

  • Android application testing
  • Context-aware application
  • Mobile application testing
  • Permissions
  • Various contexts

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Generating various contexts from permissions for testing Android applications'. Together they form a unique fingerprint.

  • Cite this

    Song, K., Han, A. R., Jeong, S., & Cha, S. (2015). Generating various contexts from permissions for testing Android applications. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (Vol. 2015-January, pp. 87-92). Knowledge Systems Institute Graduate School. https://doi.org/10.18293/SEKE2015-118