UI testing is tedious and time-consuming due to the manual effort required. Recent research has explored opportunities for reusing existing UI tests from an app to automatically generate new tests for other apps. However, the evaluation of such techniques currently remains manual, unscalable, and unreproducible, which can waste effort and impede progress in this emerging area. We introduce FrUITeR, a framework that automatically evaluates UI test reuse in a reproducible way. We apply FrUITeR to existing test-reuse techniques on a uniform benchmark we established, resulting in 11,917 test reuse cases from 20 apps. We report several key findings aimed at improving UI test reuse that are missed by existing work.
由于所需的手动努力,UI测试非常繁琐且耗时。最近的研究探索了将现有的UI测试从应用程序重用的机会,以自动为其他应用程序生成新的测试。但是,目前对此类技术的评估仍然是手动的,不可估量的且难以复制的,这可能会浪费努力并阻碍在这一新兴领域的进步。我们介绍了Fruiter,这是一个自动评估UI测试重复使用的框架。我们在我们确定的统一基准上应用水果将重新定制技术应用于现有的测试技术,从而从20个应用程序中产生了11,917个测试重用案例。我们报告了旨在改善UI测试重用的几个关键发现,这些发现被现有工作所遗漏。