首页> 外文会议>International conference on Software Engineering >Using GUI Run-Time State as Feedback to Generate Test Cases
【24h】

Using GUI Run-Time State as Feedback to Generate Test Cases

机译:使用GUI运行时状态作为反馈来生成测试用例

获取原文

摘要

This paper presents a new automated model-driven technique to generate test cases by using feedback from the execution of a .seed test suite. on an application under test (AUT). The test cases in the seed suite are designed to be generated automatically and executed very quickly. During their execution, feedback obtained from the AUT's run-time state is used to generate new, .improved. test cases. The new test cases subsequently become part of the seed suite. This .anytime technique. continues iteratively, generating and executing additional test cases until resources are exhausted or testing goals have been met. The feedback-based technique is demonstrated for automated testing of graphical user interfaces (GUIs). An existing abstract model of the GUI is used to automatically generate the seed test suite. It is executed; during its execution, state changes in the GUI pinpoint important relationships between GUI events, which evolve the model and help to generate new test cases. Together with a reverse-engineering algorithm used to obtain the initial model and seed suite, the feedback-based technique yields a fully automatic, end-to-end GUI testing process. A feasibility study on four large fielded open-source software (OSS) applications demonstrates that this process is able to significantly improve existing techniques and help identify/report serious problems in the OSS. In response, these problems have been fixed by the developers of the OSS in subsequent versions.
机译:本文提出了一种新的自动化模型驱动技术,该技术通过使用来自.seed测试套件执行的反馈来生成测试案例。在被测应用程序(AUT)上。种子套件中的测试用例旨在自动生成并非常快速地执行。在执行期间,将从AUT的运行时状态获得的反馈用于生成新的,经过改进的。测试用例。新的测试用例随后成为种子套件的一部分。这项随时随地的技术。迭代地继续进行,生成并执行其他测试用例,直到耗尽资源或达到测试目标为止。演示了基于反馈的技术,用于图形用户界面(GUI)的自动化测试。 GUI的现有抽象模型用于自动生成种子测试套件。它被执行;在执行过程中,GUI中的状态更改可精确定位GUI事件之间的重要关系,从而可以发展模型并帮助生成新的测试用例。与用于获取初始模型和种子套件的逆向工程算法一起,基于反馈的技术产生了一个全自动的,端到端的GUI测试过程。对四个大型现场开源软件(OSS)应用程序的可行性研究表明,此过程能够显着改善现有技术,并帮助识别/报告OSS中的严重问题。作为响应,这些问题已由OSS开发人员在后续版本中修复。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号