Achieving High Code Coverage in Android UI Testing via Automated Widget Exercising
Autor: | Minh Ngoc Ngo, Tan Hee Beng Kuan, Charlie Soh, Yauhen Leanidavich Arnatovich |
---|---|
Rok vydání: | 2016 |
Předmět: |
021103 operations research
InformationSystems_INFORMATIONINTERFACESANDPRESENTATION(e.g. HCI) Computer science Programming language computer.internet_protocol 0211 other engineering and technologies Code coverage 020207 software engineering 02 engineering and technology Graphical user interface testing computer.software_genre Electronic mail 0202 electrical engineering electronic engineering information engineering Operating system Control flow graph User interface Android (operating system) computer Humanoid robot XML |
Zdroj: | APSEC |
DOI: | 10.1109/apsec.2016.036 |
Popis: | Automated functional user interface (UI) testing of mobile apps is a challenging task due to the highly interactive nature of the app UIs, and thus it commonly fails to provide high code coverage. In this paper, we present DroidDEV, an automated UI exerciser which aims to achieve high code coverage for real-world Android apps. DroidDEV dynamically builds a finite UI flow graph, generates and injects UI-context-aware inputs to exercise all the widgets on all the UI screens through a best-first search path finding algorithm. We have evaluated DroidDEV on 20 real-world open-source Android apps and compared it with manual UI testing and two other prevalent automated approaches including MobiGUITAR and Monkey. On these subjects, DroidDEV reports code coverage similar to manual UI testing, and it outperforms MobiGUITAR and Monkey in terms of code coverage and exercising time. |
Databáze: | OpenAIRE |
Externí odkaz: |