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)
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篇论文的施引文献,订阅后可以查看论文全部施引文献