首页> 外文期刊>IEEE Transactions on Software Engineering >Call-Stack Coverage for GUI Test Suite Reduction
【24h】

Call-Stack Coverage for GUI Test Suite Reduction

机译:减少GUI测试套件的调用堆栈覆盖率

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Graphical user interfaces (GUIs) are used as front ends to most of today''s software applications. The event-driven nature of GUIs presents new challenges for testing. One important challenge is test suite reduction. Conventional reduction techniques/tools based on static analysis are not easily applicable due to the increased use of multilanguage GUI implementations, callbacks for event handlers, virtual function calls, reflection, and multithreading. Moreover, many existing techniques ignore code in libraries and fail to consider the context in which event handlers execute. Consequently, they yield GUI test suites with seriously impaired fault-detection abilities. This paper presents a reduction technique based on the call-stack coverage criterion. Call stacks may be collected for any executing program with very little overhead. Empirical studies in this paper compare reduction based on call-stack coverage to reduction based on line, method, and event coverage, including variations that control for the size and optional consideration of library methods. These studies show that call-stack-based reduction provides unique trade-offs between the reduction in test suite size and the loss of fault detection effectiveness, which may be valuable in practice. Additionally, an analysis of the relationship between coverage requirements and fault-revealing test cases is presented.
机译:图形用户界面(GUI)用作当今大多数软件应用程序的前端。 GUI的事件驱动性质为测试提出了新的挑战。一个重要的挑战是减少测试套件。由于越来越多地使用多语言GUI实现,事件处理程序的回调,虚拟函数调用,反射和多线程,因此基于静态​​分析的常规归约技术/工具不易应用。此外,许多现有技术会忽略库中的代码,并且无法考虑事件处理程序执行的上下文。因此,它们产生了具有严重受损的故障检测能力的GUI测试套件。本文提出了一种基于调用堆栈覆盖标准的归约技术。可以以很少的开销收集任何执行程序的调用堆栈。本文的实证研究比较了基于调用堆栈覆盖率的减少与基于行,方法和事件覆盖率的减少,包括控制大小的变化和库方法的可选考虑。这些研究表明,基于调用堆栈的缩减在减少测试套件大小和降低故障检测效率之间提供了独特的权衡,这在实践中可能是有价值的。此外,还介绍了覆盖范围要求和故障揭示测试用例之间的关系。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号