Automated, Cost-effective, and Update-driven App Testing

Author:

Ngo Chanh Duc1,Pastore Fabrizio1ORCID,Briand Lionel2

Affiliation:

1. SnT Centre, University of Luxembourg, Luxembourg

2. SnT Centre, University of Luxembourg, Luxembourg and School of EECS, University of Ottawa, Ottawa, Canada

Abstract

Apps’ pervasive role in our society led to the definition of test automation approaches to ensure their dependability. However, state-of-the-art approaches tend to generate large numbers of test inputs and are unlikely to achieve more than 50% method coverage. In this article, we propose a strategy to achieve significantly higher coverage of the code affected by updates with a much smaller number of test inputs, thus alleviating the test oracle problem. More specifically, we present ATUA, a model-based approach that synthesizes App models with static analysis, integrates a dynamically refined state abstraction function and combines complementary testing strategies, including (1) coverage of the model structure, (2) coverage of the App code, (3) random exploration, and (4) coverage of dependencies identified through information retrieval. Its model-based strategy enables ATUA to generate a small set of inputs that exercise only the code affected by the updates. In turn, this makes common test oracle solutions more cost-effective, as they tend to involve human effort. A large empirical evaluation, conducted with 72 App versions belonging to nine popular Android Apps, has shown that ATUA is more effective and less effort-intensive than state-of-the-art approaches when testing App updates.

Funder

Huawei Technologies Co., Ltd, China

European Research Council

European Union’s Horizon 2020 research and innovation programme

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference81 articles.

1. A general framework for comparing automatic testing techniques of Android mobile apps

2. Combining Automated GUI Exploration of Android apps with Capture and Replay through Machine Learning

3. Android.com. 2020. Intent Resolution. Retrieved from https://developer.android.com/reference/android/content/Intent.

4. Android.com. 2020. Logcat Command Line Tool. Retrieved from https://developer.android.com/studio/command-line/logcat.

5. Android.com. 2020. Monkey - Android ui/application Exerciser. Retrieved from http://developer.android.com/tools/help/monkey.html.

Cited by 7 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Testing Updated Apps by Adapting Learned Models;ACM Transactions on Software Engineering and Methodology;2024-06-29

2. A Fast Crash Reproduction Method for Android Applications Based on Widget Hierarchy Graphs;IEEE Internet of Things Journal;2024-04-15

3. A Model-Based Approach to Mobile Application Testing;International Journal of Advanced Network, Monitoring and Controls;2023-12-01

4. Test Case Prioritization Based on Neural Network Classification with Artifacts Traceability;2023 38th IEEE/ACM International Conference on Automated Software Engineering Workshops (ASEW);2023-09-11

5. A systematic mapping study for graphical user interface testing on mobile apps;IET Software;2023-03-02

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3