首页> 外文会议>International Conference on Evaluation of Novel Software Approaches to Software Engineering >Search based GUI Test Generation in Java - Comparing Code-based and EFG-based Optimization Goals
【24h】

Search based GUI Test Generation in Java - Comparing Code-based and EFG-based Optimization Goals

机译:基于Java的基于GUI测试生成 - 基于代码和基于EFG的优化目标的GUI测试生成

获取原文

摘要

Modern software systems often communicate with their users by graphical user interfaces (GUI). While the underlying business logic may be fully covered by unit tests, the GUI mostly is not. Despite the widespread use of capture and replay tools, which leave the test generation of GUI tests to the user, recent research also focuses on automated GUI test generation. From the numerous approaches, which include symbolic execution, model-based generation, and random testing, search based test data generation seems to be the most promising. In this paper, we create GUI tests using hill climbing, simulated annealing and several genetic algorithms which deal differently with the sequence length and use multi or single objective algorithms. These different test data generators are compared in terms of runtime and coverage. All approaches are also compared using different optimization goals which are a high coverage of the event flow graph (EFG) of the GUIs and a high coverage of the underlying source code. The evaluation shows that the genetic algorithms outperform hill climbing and simulated annealing in terms of coverage, and that targeting a high EFG coverage causes the best runtime performance.
机译:现代软件系统通常通过图形用户界面(GUI)与用户通信。虽然底层业务逻辑可以完全被单位测试完全覆盖,但GUI主要不是。尽管捕获和重播工具广泛使用,但留给用户的测试生成GUI测试,最近的研究也侧重于自动化GUI测试生成。从许多方法,包括符号执行,基于模型的生成和随机测试,基于搜索的测试数据生成似乎是最有前途的。在本文中,我们使用山坡,模拟退火和几种遗传算法创建GUI测试,该算法与序列长度不同,并使用多或单个目标算法。在运行时和覆盖范围内比较这些不同的测试数据发生器。使用不同的优化目标也比较所有方法,这些目标是GUI的事件流程图(EFG)的高覆盖率和基础源代码的高覆盖范围。评估表明,在覆盖范围内遗传算法优于爬山和模拟退火,并且瞄准高EFG覆盖率导致最佳的运行时性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号