Change-Based Test Script Maintenance for Android Apps
Authors:
- Nana ChangNCNana Chang
- Linzhang WangLWLinzhang Wang
- Yu PeiYPYu Pei
- Subrota K. MondalSMSubrota K. Mondal
- Xuandong LiXLXuandong Li
- 1 July 2018
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 215-225
Abstract
In regression GUI testing for Android apps, test scripts often fail due to changes to, rather than faults in, those apps. To avoid such false positives while still retaining the value of the old test scripts as much as possible, programmers need an automatic way to maintain the tests after the corresponding GUI has evolved. In this paper, we propose the CHATEM approach to automate GUI test script maintenance for Android apps. Taking as input the models for the GUIs of the base and updated version app and the original test scripts, CHATEM automatically extracts the changes between the two GUIs and generates maintenance actions for each change, which are then combined to form the maintenance actions for affected test scripts. In an experimental evaluation on 16 Android apps, CHATEM was able to automatically maintain the test scripts so that overall more than 95% of the remaining behaviors tested before are still tested, and almost 80% of the reusable test actions are retained in the result tests.Keywords
This publication has 21 references indexed in Scilit:
- GUI and usage model-based test case generation for Android applications with change analysis2016
- 15 Years of Software Regression Testing Techniques — A SurveyInternational Journal of Software Engineering and Knowledge Engineering, 2016
- Regression test selection for Android applications2016
- Testing Android Apps via Guided Gesture Event Generation2016
- Test suite reduction methods that decrease regression testing costs by identifying irreplaceable testsInformation and Software Technology, 2014
- Mobile Application Testing: A TutorialComputer, 2014
- An automated tool for regression testing in web applicationsACM SIGSOFT Software Engineering Notes, 2013
- WATER2011
- MINTS: A general framework and tool for supporting test-suite minimization2009
- UMLDiff2005