DocumentCode :
146739
Title :
Automated Generation of Oracles for Testing User-Interaction Features of Mobile Apps
Author :
Zaeem, Razieh Nokhbeh ; Prasad, M.R. ; Khurshid, Sarfraz
Author_Institution :
Univ. of Texas at Austin, Austin, TX, USA
fYear :
2014
fDate :
March 31 2014-April 4 2014
Firstpage :
183
Lastpage :
192
Abstract :
As the use of mobile devices becomes increasingly ubiquitous, the need for systematically testing applications (apps) that run on these devices grows more and more. However, testing mobile apps is particularly expensive and tedious, often requiring substantial manual effort. While researchers have made much progress in automated testing of mobile apps during recent years, a key problem that remains largely untracked is the classic oracle problem, i.e., to determine the correctness of test executions. This paper presents a novel approach to automatically generate test cases, that include test oracles, for mobile apps. The foundation for our approach is a comprehensive study that we conducted of real defects in mobile apps. Our key insight, from this study, is that there is a class of features that we term user-interaction features, which is implicated in a significant fraction of bugs and for which oracles can be constructed - in an application agnostic manner -- based on our common understanding of how apps behave. We present an extensible framework that supports such domain specific, yet application agnostic, test oracles, and allows generation of test sequences that leverage these oracles. Our tool embodies our approach for generating test cases that include oracles. Experimental results using 6 Android apps show the effectiveness of our tool in finding potentially serious bugs, while generating compact test suites for user-interaction features.
Keywords :
Android (operating system); human computer interaction; mobile computing; program testing; Android apps; app behavior; application testing; automated oracle generation; automatic test case generation; mobile app defects; mobile apps testing; mobile device; test execution correctness; test oracles; user-interaction feature testing; Androids; Computer bugs; Graphical user interfaces; Humanoid robots; Mobile communication; Mobile handsets; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2014 IEEE Seventh International Conference on
Conference_Location :
Cleveland, OH
Type :
conf
DOI :
10.1109/ICST.2014.31
Filename :
6823880
Link To Document :
بازگشت