【24h】

Debugging Flaky Tests on Web Applications

机译:在Web应用程序上调试刷新式测试

获取原文

摘要

Testing web applications is a challenging practice because it involves managing asynchronous requests between clients and servers, the integration of heterogeneous technologies, and concurrent accesses to the resources. Therefore, rerunning the test cases of these applications under the same conditions is difficult as one test case can be executed in many different ways according to several environmental factors like memory, screen size or network. Moreover, some of these test cases could be flaky, i.e., due to environmental factors the test outcome can vary even though the application did not change. Understanding which factors are the root cause of flakiness is very important for web developers to both prevent and fix flakiness. This paper introduces a technique to locate the root causes of flakiness based on a characterization of the different environmental factors that are not controlled during the testing of web applications. The root cause of flakiness is located by a spectrum-based localization technique that analyses the execution of the same flaky test under different environmental factors that can trigger the flakiness. The technique is illustrated on an educational web platform named FullTeaching.
机译:测试Web应用程序是一个具有挑战性的实践,因为它涉及在客户端和服务器之间管理异步请求,异构技术的集成以及对资源的并发访问。因此,在相同的条件下重新运行这些应用程序的测试用例是困难的,因为一个测试用例可以根据存储器,屏幕尺寸或网络等几种环境因素以多种不同的方式执行。此外,这些测试用例中的一些可能是片状的,即,由于环境因素,即使申请没有改变,测试结果也可能有所不同。了解哪些因素是片状的根本原因对Web开发人员来说都非常重要,以防止和修复片质。本文介绍了一种技术来定位片质的根本原因,基于在Web应用期间未控制的不同环境因素的表征。片质的根本原因是通过基于频谱的定位技术,分析了在不同的环境因素下执行相同的片状测试,这可以引发涂抹片。该技术在命名为FureSteaching的教育Web平台上说明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号