Route : Roads Not Taken in UI Testing

Author:

Lin Jun-Wei1ORCID,Salehnamadi Navid2ORCID,Malek Sam2ORCID

Affiliation:

1. MGM Resorts International, USA

2. University of California, Irvine, USA

Abstract

Core features (functionalities) of an app can often be accessed and invoked in several ways, i.e., through alternative sequences of user-interface (UI) interactions. Given the manual effort of writing tests, developers often only consider the typical way of invoking features when creating the tests (i.e., the “sunny day scenario”). However, the alternative ways of invoking a feature are as likely to be faulty. These faults would go undetected without proper tests. To reduce the manual effort of creating UI tests and help developers more thoroughly examine the features of apps, we present Route , an automated tool for feature-based UI test augmentation for Android apps. Route first takes a UI test and the app under test as input. It then applies novel heuristics to find additional high-quality UI tests, consisting of both inputs and assertions, that verify the same feature as the original test in alternative ways. Application of Route on several dozen tests for popular apps on Google Play shows that for 96% of the existing tests, Route was able to generate at least one alternative test. Moreover, the fault detection effectiveness of augmented test suites in our experiments showed substantial improvements of up to 39% over the original test suites.

Funder

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference50 articles.

1. Chih-Wei Huang. 2022. Android-x86 - Porting Android to x86. Retrieved from https://www.android-x86.org/.

2. OpenJS Foundation. 2022. Appium . Retrieved from https://github.com/appium/appium.

3. Jun-Wei Lin, Navid Salehnamadi, and Sam Malek. 2022. Route Project Website. Retrieved from https://sites.google.com/view/route.

4. Andrea Dal Cin. 2022. School Planner. Retrieved from https://play.google.com/store/apps/details?id=daldev.android.gradehelper.

5. Google LLC. 2022. UI Application Exerciser Monkey . Retrieved from https://developer.android.com/studio/test/monkey.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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