首页> 外文会议>International Workshop on Search-Based Software Testing >On the Diffusion of Test Smells in Automatically Generated Test Code: An Empirical Study
【24h】

On the Diffusion of Test Smells in Automatically Generated Test Code: An Empirical Study

机译:自动生成的测试代码中测试气味的扩散:实证研究

获取原文

摘要

The role of software testing in the software development process is widely recognized as a key activity for successful projects. This is the reason why in the last decade several automatic unit test generation tools have been proposed, focusing particularly on high code coverage. Despite the effort spent by the research community, there is still a lack of empirical investigation aimed at analyzing the characteristics of the produced test code. Indeed, while some studies inspected the effectiveness and the usability of these tools in practice, it is still unknown whether test code is maintainable. In this paper, we conducted a large scale empirical study in order to analyze the diffusion of bad design solutions, namely test smells, in automatically generated unit test classes. Results of the study show the high diffusion of test smells as well as the frequent co-occurrence of different types of design problems. Finally we found that all test smells have strong positive correlation with structural characteristics of the systems such as size or number of classes.
机译:软件测试在软件开发过程中的作用被广泛认为是成功项目的关键活动。这就是为什么在过去的十年中提出了几种自动单元测试生成工具的原因,这些工具特别关注于高代码覆盖率。尽管研究界付出了很多努力,但仍缺乏旨在分析所产生的测试代码的特征的实证研究。确实,尽管一些研究在实践中检查了这些工具的有效性和可用性,但仍未知测试代码是否可维护。在本文中,我们进行了大规模的实证研究,以分析不良设计解决方案(即测试气味)在自动生成的单元测试类别中的扩散。研究结果表明测试气味的高度扩散以及不同类型设计问题的频繁并发。最终,我们发现所有测试气味与系统的结构特征(例如大小或类别数)都具有很强的正相关性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号