首页> 外文会议>2018 IEEE/ACM 40th International Conference on Software Engineering >DetReduce: Minimizing Android GUI Test Suites for Regression Testing
【24h】

DetReduce: Minimizing Android GUI Test Suites for Regression Testing

机译:DetReduce:最小化用于回归测试的Android GUI测试套件

获取原文
获取原文并翻译 | 示例

摘要

In recent years, several automated GUI testing techniques for Android apps have been proposed. These tools have been shown to be effective in achieving good test coverage and in finding bugs without human intervention. Being automated, these tools typically run for a long time (say, for several hours), either until they saturate test coverage or until a testing time budget expires. Thus, these automated tools are not good at generating concise regression test suites that could be used for testing in incremental development of the apps and in regression testing. We propose a heuristic technique that helps create a small regression test suite for an Android app from a large test suite generated by an automated Android GUI testing tool. The key insight behind our technique is that if we can identify and remove some common forms of redundancies introduced by existing automated GUI testing tools, then we can drastically lower the time required to minimize a GUI test suite. We have implemented our algorithm in a prototype tool called DetReduce. We applied DetReduce to several Android apps and found that DetReduce reduces a test-suite by an average factor of16.9× in size and14.7× in running time. We also found that for a test suite generated by running SwiftHand and a randomized test generation algorithm for 8 hours, DetReduce minimizes the test suite in an average of 14.6 hours.
机译:近年来,已经提出了几种用于Android应用程序的自动化GUI测试技术。这些工具已被证明有效地达到了良好的测试覆盖率,并且无需人工干预即可发现错误。这些工具是自动化的,通常会运行很长时间(例如几个小时),直到它们使测试范围达到饱和或直到测试时间预算到期为止。因此,这些自动化工具不利于生成简洁的回归测试套件,而该套件可用于在应用程序的增量开发和回归测试中进行测试。我们提出了一种启发式技术,该技术可帮助通过自动的Android GUI测试工具生成的大型测试套件为Android应用创建小型回归测试套件。我们的技术背后的关键见解是,如果我们可以识别和消除现有的自动化GUI测试工具引入的某些常见形式的冗余,那么我们就可以大大减少将GUI测试套件最小化所需的时间。我们已经在称为DetReduce的原型工具中实现了算法。我们将DetReduce应用到了多个Android应用程序中,发现DetReduce将测试套件的大小平均减少了16.9倍,运行时间减少了14.7倍。我们还发现,对于通过运行SwiftHand和随机测试生成算法8小时生成的测试套件,DetReduce平均将测试套件最小化为14.6小时。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号