...
首页> 外文期刊>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 multi-language GUI implementations, callbacks for event handlers, virtual function calls, reflection, and multi-threading. 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 ability. 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 size and optional consideration of library methods. These studies show that call-stack-based reduction provides an excellent tradeoff between reduction in test suite size and loss of fault detection effectiveness. Additionally, an analysis of the relationship between coverage elements and fault-revealing test cases is presented.
机译:图形用户界面(GUI)用作当今大多数软件应用程序的前端。 GUI的事件驱动性质为测试提出了新的挑战。一个重要的挑战是减少测试套件。由于越来越多地使用多语言GUI实现,事件处理程序的回调,虚拟函数调用,反射和多线程,因此基于静态​​分析的常规归约技术/工具不易应用。此外,许多现有技术会忽略库中的代码,并且无法考虑事件处理程序执行的上下文。因此,它们会产生故障检测能力严重受损的GUI测试套件。本文提出了一种基于调用堆栈覆盖标准的归约技术。可以以很少的开销收集任何执行程序的调用堆栈。本文的实证研究比较了基于调用堆栈覆盖率的减少与基于行,方法和事件覆盖率的减少,包括控制大小的变化和库方法的可选考虑。这些研究表明,基于调用堆栈的缩减在减少测试套件大小和降低故障检测效率之间提供了极好的折衷方案。此外,还对覆盖元素与故障揭示测试用例之间的关系进行了分析。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号