首页> 外文会议>IEEE International Conference on Software Testing, Verification and Validation >Automated Generation of Oracles for Testing User-interaction Features of Mobile Apps
【24h】

Automated Generation of Oracles for Testing User-interaction Features of Mobile Apps

机译:用于测试移动应用程序的用户交互功能的自动生成oracles

获取原文

摘要

As the use of mobile devices becomes increasingly ubiquitous, the need for systematically testing applications (apps) that run on these devices grows more and more. However, testing mobile apps is particularly expensive and tedious, often requiring substantial manual effort. While researchers have made much progress in automated testing of mobile apps during recent years, a key problem that remains largely untackled is the classic oracle problem, i.e., to determine the correctness of test executions. This paper presents a novel approach to automatically generate test cases, that include test oracles, for mobile apps. The foundation for our approach is a comprehensive study that we conducted of real defects in mobile apps. Our key insight, from this study, is that there is a class of features that we term user-interaction features, which is implicated in a significant fraction of bugs and for which oracles can be constructed - in an application agnostic manner - based on our common understanding of how apps behave. We present an extensible framework that supports such domain specific, yet application agnostic, test oracles, and allows generation of test sequences that leverage these oracles. Our tool, QUANTUM, embodies our approach for generating test cases that include oracles. Experimental results using 6 Android apps show the effectiveness of QUANTUM in finding potentially serious bugs, while generating compact test suites for user-interaction features.
机译:由于移动设备的使用越来越普遍,因此需要在这些设备上运行的系统测试应用程序(应用程序)越来越多地增长。然而,测试移动应用特别昂贵,繁琐,通常需要大量的手动努力。虽然研究人员在近年来在移动应用程序自动化测试方面取得了很大进展,但一个关键问题在很大程度上彻底包围是经典的Oracle问题,即确定测试执行的正确性。本文提出了一种自动生成测试用例的新方法,包括测试oracles,用于移动应用程序。我们方法的基础是我们在移动应用程序中进行真正缺陷的全面研究。从本研究中的关键洞察力是,有一类我们术语的特征是用户交互功能,这些功能涉及一个大量的错误,并且可以以应用程序不可知的方式构建oracles - 基于我们的应用程序常识对应用程序的表现方式。我们提出了一个可扩展的框架,支持这些域特定的域,但应用程序不可知,测试oracles,并允许产生利用这些oracles的测试序列。我们的工具量子,体现了我们生成包括oracles的测试案例的方法。使用6个Android应用实验结果表明QUANTUM的寻找潜在的严重缺陷的有效性,而生成用于用户交互的特征紧凑的测试套件。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号