首页> 外文会议>IPM international conference on fundamentals of software engineering >An Experimental Study on Flakiness and Fragility of Randoop Regression Test Suites
【24h】

An Experimental Study on Flakiness and Fragility of Randoop Regression Test Suites

机译:Randoop回归测试套件的易碎性和易碎性的实验研究

获取原文

摘要

Randoop is a well-known tool that proposes a feedback-directed algorithm for automatic and random generation of unit tests for a given Java class. It automatically generates two test suites for the class under test: (1) an error-revealing test suite, and (2) a regression test suite. Despite successful experiences with applying Randoop on real world projects like Java Development Kit (JDK) which have led to creation of error-revealing tests and identification of real bugs, it has not been investigated in the literature how useful are the regression test suites generated by Randoop. In this paper, we have investigated flakiness and fragility of Randoop's regression tests during evolution of 5 open source Java projects with a total of 78 versions. The results demonstrate that the flakiness of the regression tests is not generally noticeable, since in our dataset, only 5% of the classes have at least one flaky regression tests. In addition, test fragility analysis reveals that in most versions of the projects under study, the regression tests generated by Randoop could be successfully executed on many of later versions. Actually, for 2 out of 5 projects in the experiments, the regression tests generated for each version could be successfully executed on all the later versions of the project.
机译:Randoop是一个著名的工具,它为给定的Java类提出了一种针对反馈的算法,用于自动随机生成单元测试。它会自动为被测类生成两个测试套件:(1)一个显示错误的测试套件,和(2)一个回归测试套件。尽管在将Randoop应用于Java开发工具包(JDK)等现实世界项目中取得了成功的经验,这导致创建了错误显示测试并识别了实际的错误,但是在文献中还没有研究过由Randoop生成的回归测试套件有多有用兰道普。在本文中,我们研究了在5个开源Java项目(共78个版本)的演变过程中Randoop回归测试的脆弱性和脆弱性。结果表明,回归测试的脆弱性通常不会引起注意,因为在我们的数据集中,只有5%的类别具有至少一个不稳定的回归测试。此外,测试脆弱性分析表​​明,在所研究项目的大多数版本中,Randoop生成的回归测试可以在许多更高版本中成功执行。实际上,对于实验中5个项目中的2个,可以在项目的所有更高版本上成功执行为每个版本生成的回归测试。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号