Avgust: A Tool for Generating Usage-Based Tests from Videos of App Executions

Avgust: A Tool for Generating Usage-Based Tests from Videos of App Executions
复制标题

DOI:
10.1109/icse-companion58688.2023.00030
复制
发表时间:
2023-05
期刊:
2023 IEEE/ACM 45th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)
影响因子:
--
通讯作者:
Saghar Talebipour;Hyojae Park;Kesina Baral;Leon Yee;Safwat Ali Khan;Kevin Moran;Yuriy Brun;N. Medvidović;Yixue Zhao
Saghar Talebipour;Hyojae Park;Kesina Baral;Leon Yee;Safwat Ali Khan;Kevin Moran;Yuriy Brun;N. Medvidović;Yixue Zhao
中科院分区:
其他
文献类型:
--
作者:
Saghar Talebipour;Hyojae Park;Kesina Baral;Leon Yee;Safwat Ali Khan;Kevin Moran;Yuriy Brun;N. Medvidović;Yixue Zhao

文献摘要

相似文献

为移动应用程序创建UI测试是一项艰巨且耗时的任务。因此,已经进行了相当多的工作,以使生成移动测试的生成极大地集中在最大化代码覆盖范围或查找崩溃的目标上。但是,已经提出了相对较少的自动化技术来生成一种备受追捧的测试类型:基于使用情况的测试。这些测试对重新测试等活动的针对APP功能进行了针对性的APP功能。在本文中,我们介绍了用于自动化移动应用程序使用基于使用的测试的Avgusttool。从Beta测试人员或人群工作人员收集的APP执行视频中的AVGUSTLEALNS使用模式,将其转换为应用程序态态机器编码,然后使用此编码为未见目标应用程序生成新的测试案例。我们评估了来自18个流行应用程序的AVGUSTON 374用例的视频,发现它可以成功地在69%的测试中行使所需的用法。 avgustis是https://github.com/felicitia/usagetesting-repo/tree/demo。在以下网址找到了一个说明Avgustcan功能的视频
Creating UI tests for mobile applications is a difficult and time-consuming task. As such, there has been a considerable amount of work carried out to automate the generation of mobile tests-largely focused upon the goals of maximizing code coverage or finding crashes. However, comparatively fewer automated techniques have been proposed to generate a highly sought after type of test: usage-based tests. These tests exercise targeted app functionalities for activities such as regression testing. In this paper, we present the Avgusttool for automating the construction of usage-based tests for mobile apps. Avgustlearns usage patterns from videos of app executions collected by beta testers or crowd-workers, translates these into an app-agnostic state-machine encoding, and then uses this encoding to generate new test cases for an unseen target app. We evaluated Avguston 374 videos of use cases from 18 popular apps and found that it can successfully exercise the desired usage in 69% of the tests. Avgustis an open-source tool available at https://github.com/felicitia/UsageTesting-Repo/tree/demo. A video illustrating the capabilities of Avgustcan be found at: https://youtu.be/LPICxVd0YAg